mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
Add tty arg to authz
This commit is contained in:
parent
2f2802342f
commit
ed90646556
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue