From ed90646556474d3de45bf3c51e8a34afb3b2bddd Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 3 Jun 2009 02:28:22 +0000 Subject: [PATCH] Add tty arg to authz --- contrib/slapd-modules/nssov/nss-ldapd/nss/pam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5