From 392a4e76957dacfc5ba913fa7dde05c97fbd348e Mon Sep 17 00:00:00 2001 From: Juan Carlos Luciani Date: Mon, 14 Aug 2006 20:17:11 +0000 Subject: [PATCH] Added some extra debug statements. --- CASA-auth-token/non-java/client/mechanisms/pwd/get.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CASA-auth-token/non-java/client/mechanisms/pwd/get.c b/CASA-auth-token/non-java/client/mechanisms/pwd/get.c index f2b88546..b461208b 100644 --- a/CASA-auth-token/non-java/client/mechanisms/pwd/get.c +++ b/CASA-auth-token/non-java/client/mechanisms/pwd/get.c @@ -138,6 +138,8 @@ GetUserCredentials( // Copy the password into the buffer that we will be returning strcpy(pPassword, credential.password); + DbgTrace(1, "-GetUserCredentials- Username = %s\n", pUsername); + // Success retStatus = CASA_STATUS_SUCCESS; } @@ -160,6 +162,10 @@ GetUserCredentials( CASA_STATUS_INSUFFICIENT_RESOURCES); } } + else + { + DbgTrace(0, "-GetUserCredentials- Failed to obtain credentials for pw authentication\n", 0); + } // Return the buffers to the caller if successful if (CASA_SUCCESS(retStatus))