summaryrefslogtreecommitdiff
path: root/src/responder/pam
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-04-03 18:42:43 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-04-18 10:23:55 -0400
commitbd09ead65cded3207cf228c44a31bbc87c2979bd (patch)
tree91d7abf452011afdbef9c42a3eb7d59fa8768a83 /src/responder/pam
parent7329723a5d8ce46f146e78dabfad5c94b3eed505 (diff)
downloadsssd-bd09ead65cded3207cf228c44a31bbc87c2979bd.tar.gz
sssd-bd09ead65cded3207cf228c44a31bbc87c2979bd.tar.bz2
sssd-bd09ead65cded3207cf228c44a31bbc87c2979bd.zip
Prevent printing NULL from DEBUG messages
Diffstat (limited to 'src/responder/pam')
-rw-r--r--src/responder/pam/pamsrv_cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/responder/pam/pamsrv_cmd.c b/src/responder/pam/pamsrv_cmd.c
index 3efa696a..1fdcc5b5 100644
--- a/src/responder/pam/pamsrv_cmd.c
+++ b/src/responder/pam/pamsrv_cmd.c
@@ -1141,7 +1141,8 @@ static int pam_check_user_search(struct pam_auth_req *preq)
return EAGAIN;
}
- DEBUG(2, ("No matching domain found for [%s], fail!\n", name));
+ DEBUG(SSSDBG_MINOR_FAILURE,
+ ("No matching domain found for [%s], fail!\n", preq->pd->user));
return ENOENT;
}