summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-12-17 09:04:52 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-12-17 16:41:10 -0500
commit9c292cdd48cbcb3c3e522ed596336ac3d54fe00a (patch)
treeb6645aa792003ccfbe71ffc770ea1d6f53baa46f
parent70538c8b756a7463e77b8206e38723a6c00d600f (diff)
downloadsssd-9c292cdd48cbcb3c3e522ed596336ac3d54fe00a.tar.gz
sssd-9c292cdd48cbcb3c3e522ed596336ac3d54fe00a.tar.bz2
sssd-9c292cdd48cbcb3c3e522ed596336ac3d54fe00a.zip
Add DEBUG messages to getpwnam_callback and getpwuid_callback
This matches the DEBUG logging available for groups.
-rw-r--r--server/responder/nss/nsssrv_cmd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/responder/nss/nsssrv_cmd.c b/server/responder/nss/nsssrv_cmd.c
index ce59271f..46d4a236 100644
--- a/server/responder/nss/nsssrv_cmd.c
+++ b/server/responder/nss/nsssrv_cmd.c
@@ -520,6 +520,8 @@ static void nss_cmd_getpwnam_callback(void *ptr, int status,
break;
case 1:
+ DEBUG(6, ("Returning info for user [%s]\n", cmdctx->name));
+
/* create response packet */
ret = sss_packet_new(cctx->creq, 0,
sss_packet_get_cmd(cctx->creq->in),
@@ -856,6 +858,8 @@ static void nss_cmd_getpwuid_callback(void *ptr, int status,
break;
case 1:
+ DEBUG(6, ("Returning info for user [%u]\n", (unsigned)cmdctx->id));
+
/* create response packet */
ret = sss_packet_new(cctx->creq, 0,
sss_packet_get_cmd(cctx->creq->in),