diff options
Diffstat (limited to 'nslcd/passwd.c')
-rw-r--r-- | nslcd/passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/passwd.c b/nslcd/passwd.c index abdb104..eeca355 100644 --- a/nslcd/passwd.c +++ b/nslcd/passwd.c @@ -87,7 +87,7 @@ static enum nss_status _nss_ldap_parse_pw (LDAPMessage * e, tmpbuf[ sizeof(tmpbuf) - 1 ] = '\0'; - if (_nss_ldap_oc_check (e, "shadowAccount") == NSS_STATUS_SUCCESS) + if (has_objectclass(e,"shadowAccount")) { /* don't include password for shadowAccount */ if (buflen < 3) |