mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-31 10:59:33 -05:00
Fix authz return code checking
This commit is contained in:
parent
992a20ee0a
commit
e2dd639931
1 changed files with 1 additions and 0 deletions
|
|
@ -441,6 +441,7 @@ int pam_sm_acct_mgmt(
|
|||
if (rc != PAM_IGNORE)
|
||||
pam_warn(appconv, "LDAP authorization failed", PAM_ERROR_MSG, no_warn);
|
||||
} else {
|
||||
rc = ctx2.authz;
|
||||
if (ctx2.authzmsg && ctx2.authzmsg[0])
|
||||
pam_warn(appconv, ctx2.authzmsg, PAM_TEXT_INFO, no_warn);
|
||||
if (ctx2.authz == PAM_SUCCESS) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue