diff --git a/CASA-auth-token/client/library/engine.c b/CASA-auth-token/client/library/engine.c index 213395a1..384f11f1 100644 --- a/CASA-auth-token/client/library/engine.c +++ b/CASA-auth-token/client/library/engine.c @@ -328,6 +328,8 @@ ObtainAuthTokenFromServer( *pAdvisedToRetry = false; // Open Rpc Session to the auth service at the specified host + DbgTrace(3, "-ObtainAuthTokenFromServer- Hostname = %s\n", pATSHost->pName); + DbgTrace(3, "-ObtainAuthTokenFromServer- port = %d\n", pATSHost->port); pRpcSession = OpenRpcSession(pATSHost->pName, pATSHost->port); if (pRpcSession) diff --git a/CASA-auth-token/client/library/mechanisms/pwd/get.c b/CASA-auth-token/client/library/mechanisms/pwd/get.c index 0cd49d41..f676ebe6 100644 --- a/CASA-auth-token/client/library/mechanisms/pwd/get.c +++ b/CASA-auth-token/client/library/mechanisms/pwd/get.c @@ -83,6 +83,9 @@ GetUserCredentials( size_t secretIdLen; DbgTrace(1, "-GetUserCredentials- Start\n", 0); + DbgTrace(2, "-GetUserCredentials- Realm = %s\n", pRealm); + DbgTrace(2, "-GetUserCredentials- CredStoreScope = %X\n", pCredStoreScope); + DbgTrace(2, "-GetUserCredentials- RealmCredsOnly = %X\n", realm_credentials_only); // Initialize output parameters *ppUsername = NULL; @@ -195,7 +198,7 @@ GetUserCredentials( } else { - DbgTrace(0, "-GetUserCredentials- Failed to obtain credentials for pw authentication\n", 0); + DbgTrace(0, "-GetUserCredentials- Failed to obtain credentials for pw authentication, code = %d\n", rcode); } // Clear out the credential structure to make sure that we are not leaving sensitive