summaryrefslogtreecommitdiff
path: root/src/responder/pam
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-09-21 12:51:49 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-09-28 09:22:48 -0400
commitc98298029c51fdbc727536fec7a27795184d04e4 (patch)
tree9cf954c5e1743810fd38a8a4b423cd75a0329353 /src/responder/pam
parent033d1e3985288ec827db85882b052104485606ac (diff)
downloadsssd-c98298029c51fdbc727536fec7a27795184d04e4.tar.gz
sssd-c98298029c51fdbc727536fec7a27795184d04e4.tar.bz2
sssd-c98298029c51fdbc727536fec7a27795184d04e4.zip
Return users and groups based on alias
https://fedorahosted.org/sssd/ticket/926
Diffstat (limited to 'src/responder/pam')
-rw-r--r--src/responder/pam/pam_LOCAL_domain.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/responder/pam/pam_LOCAL_domain.c b/src/responder/pam/pam_LOCAL_domain.c
index 66f3a885..baf8cc66 100644
--- a/src/responder/pam/pam_LOCAL_domain.c
+++ b/src/responder/pam/pam_LOCAL_domain.c
@@ -258,11 +258,12 @@ int LOCAL_pam_handler(struct pam_auth_req *preq)
if (res->count < 1) {
DEBUG(4, ("No user found with filter ["SYSDB_PWNAM_FILTER"]\n",
- pd->user));
+ pd->user, pd->user));
pd->pam_status = PAM_USER_UNKNOWN;
goto done;
} else if (res->count > 1) {
- DEBUG(4, ("More than one object found with filter ["SYSDB_PWNAM_FILTER"]\n"));
+ DEBUG(4, ("More than one object found with filter ["SYSDB_PWNAM_FILTER"]\n",
+ pd->user, pd->user));
lreq->error = EFAULT;
goto done;
}