diff options
Diffstat (limited to 'server/nss/pamsrv_dp.c')
-rw-r--r-- | server/nss/pamsrv_dp.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/server/nss/pamsrv_dp.c b/server/nss/pamsrv_dp.c index 494526873..7924c5624 100644 --- a/server/nss/pamsrv_dp.c +++ b/server/nss/pamsrv_dp.c @@ -113,9 +113,7 @@ int pam_dp_send_req(struct cli_ctx *cctx, pd->service==NULL || pd->tty==NULL || pd->ruser==NULL || - pd->rhost==NULL || - pd->authtok==NULL || - pd->newauthtok==NULL ) { + pd->rhost==NULL ) { return EINVAL; } @@ -132,19 +130,8 @@ int pam_dp_send_req(struct cli_ctx *cctx, } - DEBUG(4, ("Sending request for [%d][%s][%s][%s][%s][%s][%s][%d][%d][%d][%d]\n", - pd->cmd, - pd->domain, - pd->user, - pd->service, - pd->tty, - pd->ruser, - pd->rhost, - pd->authtok_type, - pd->authtok_size, - pd->newauthtok_type, - pd->newauthtok_size - )); + DEBUG(4, ("Sending request with the follwing data:\n")); + DEBUG_PAM_DATA(4, pd); ret = dbus_message_append_args(msg, DBUS_TYPE_INT32, &(pd->cmd), |