mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-20 05:43:01 -05:00
Fix pam_authz result code
This commit is contained in:
parent
3f9151b79e
commit
992a20ee0a
1 changed files with 2 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ int pam_authz(nssov_info *ni,TFILE *fp,Operation *op)
|
|||
char ruserc[32];
|
||||
char rhostc[256];
|
||||
char ttyc[256];
|
||||
int rc = NSLCD_PAM_SUCCESS;
|
||||
int rc;
|
||||
Entry *e = NULL;
|
||||
Attribute *a;
|
||||
SlapReply rs = {REP_RESULT};
|
||||
|
|
@ -455,6 +455,7 @@ int pam_authz(nssov_info *ni,TFILE *fp,Operation *op)
|
|||
else if (!BER_BVISEMPTY(&ni->ni_pam_template))
|
||||
uid = ni->ni_pam_template;
|
||||
}
|
||||
rc = NSLCD_PAM_SUCCESS;
|
||||
|
||||
finish:
|
||||
WRITE_INT32(fp,NSLCD_VERSION);
|
||||
|
|
|
|||
Loading…
Reference in a new issue