mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 15:41:24 -05:00
Fix: minuid/maxuid test used wrong attribute
This commit is contained in:
parent
ed3260c2d6
commit
76cc2f14b6
1 changed files with 1 additions and 1 deletions
|
|
@ -425,7 +425,7 @@ int pam_authz(nssov_info *ni,TFILE *fp,Operation *op)
|
|||
if (ni->ni_pam_min_uid || ni->ni_pam_max_uid) {
|
||||
int id;
|
||||
char *tmp;
|
||||
nssov_mapinfo *mi = &ni->ni_maps[NM_host];
|
||||
nssov_mapinfo *mi = &ni->ni_maps[NM_passwd];
|
||||
a = attr_find(e->e_attrs, mi->mi_attrs[UIDN_KEY].an_desc);
|
||||
if (!a) {
|
||||
rc = NSLCD_PAM_PERM_DENIED;
|
||||
|
|
|
|||
Loading…
Reference in a new issue