From: Howard Chu Date: Wed, 3 Jun 2009 02:28:22 +0000 (+0000) Subject: Add tty arg to authz X-Git-Tag: ACLCHECK_0~521 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ed90646556474d3de45bf3c51e8a34afb3b2bddd;p=openldap Add tty arg to authz --- diff --git a/contrib/slapd-modules/nssov/nss-ldapd/nss/pam.c b/contrib/slapd-modules/nssov/nss-ldapd/nss/pam.c index 3e724b26f4..abeae198e3 100644 --- a/contrib/slapd-modules/nssov/nss-ldapd/nss/pam.c +++ b/contrib/slapd-modules/nssov/nss-ldapd/nss/pam.c @@ -435,7 +435,7 @@ int pam_sm_acct_mgmt( ctx2.dn = ctx->dn; ctx2.user = ctx->user; - rc = pam_do_authz(&ctx2, svc, ruser, rhost, &err); + rc = pam_do_authz(&ctx2, svc, ruser, rhost, tty, &err); NSS2PAM_RC(rc, ignore_flags, PAM_SUCCESS); if (rc != PAM_SUCCESS) { if (rc != PAM_IGNORE)