summaryrefslogtreecommitdiff
path: root/src/responder/pam
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-02-18 11:39:39 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-02-19 16:10:06 -0500
commit953e07b7c43bc9bb7c7616180b1ba1730e22c59a (patch)
tree7a808c2773c61731df4398ede75b39e411ab48f7 /src/responder/pam
parentd8d5cf15fe5fb71dc47d8cbab154d5bf032e9309 (diff)
downloadsssd-953e07b7c43bc9bb7c7616180b1ba1730e22c59a.tar.gz
sssd-953e07b7c43bc9bb7c7616180b1ba1730e22c59a.tar.bz2
sssd-953e07b7c43bc9bb7c7616180b1ba1730e22c59a.zip
Remove unneeded items from struct pam_data
Diffstat (limited to 'src/responder/pam')
-rw-r--r--src/responder/pam/pamsrv_cmd.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/responder/pam/pamsrv_cmd.c b/src/responder/pam/pamsrv_cmd.c
index 37aad829..254b18e5 100644
--- a/src/responder/pam/pamsrv_cmd.c
+++ b/src/responder/pam/pamsrv_cmd.c
@@ -1064,24 +1064,6 @@ static void pam_check_user_callback(void *ptr, int status,
case 1:
/* BINGO */
- preq->pd->pw_uid =
- ldb_msg_find_attr_as_int(res->msgs[0], SYSDB_UIDNUM, -1);
- if (preq->pd->pw_uid == -1) {
- DEBUG(1, ("Failed to find uid for user [%s] in domain [%s].\n",
- preq->pd->user, preq->pd->domain));
- preq->pd->pam_status = PAM_SYSTEM_ERR;
- pam_reply(preq);
- }
-
- preq->pd->gr_gid =
- ldb_msg_find_attr_as_int(res->msgs[0], SYSDB_GIDNUM, -1);
- if (preq->pd->gr_gid == -1) {
- DEBUG(1, ("Failed to find gid for user [%s] in domain [%s].\n",
- preq->pd->user, preq->pd->domain));
- preq->pd->pam_status = PAM_SYSTEM_ERR;
- pam_reply(preq);
- }
-
pam_dom_forwarder(preq);
return;