Added traces to aid debugging of connection and password authentication
problems.
This commit is contained in:
parent
a5102eb3a8
commit
28a4d65cc8
@ -328,6 +328,8 @@ ObtainAuthTokenFromServer(
|
|||||||
*pAdvisedToRetry = false;
|
*pAdvisedToRetry = false;
|
||||||
|
|
||||||
// Open Rpc Session to the auth service at the specified host
|
// 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,
|
pRpcSession = OpenRpcSession(pATSHost->pName,
|
||||||
pATSHost->port);
|
pATSHost->port);
|
||||||
if (pRpcSession)
|
if (pRpcSession)
|
||||||
|
@ -83,6 +83,9 @@ GetUserCredentials(
|
|||||||
size_t secretIdLen;
|
size_t secretIdLen;
|
||||||
|
|
||||||
DbgTrace(1, "-GetUserCredentials- Start\n", 0);
|
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
|
// Initialize output parameters
|
||||||
*ppUsername = NULL;
|
*ppUsername = NULL;
|
||||||
@ -195,7 +198,7 @@ GetUserCredentials(
|
|||||||
}
|
}
|
||||||
else
|
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
|
// Clear out the credential structure to make sure that we are not leaving sensitive
|
||||||
|
Loading…
Reference in New Issue
Block a user