summaryrefslogtreecommitdiff
path: root/nslcd/util.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-09-08 19:15:12 +0000
committerArthur de Jong <arthur@arthurdejong.org>2007-09-08 19:15:12 +0000
commit78028ef3928c05573826daa726ffde40db291e83 (patch)
tree7ef92dd3689aa05091e2f79fc46545b410223111 /nslcd/util.c
parent4b539318232ffc077eaa882963b9788d686610cb (diff)
move base and scope handling to database specific modules, gettting rid of ldap_service_search_descriptor
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@384 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/util.c')
-rw-r--r--nslcd/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/util.c b/nslcd/util.c
index 96fa256..3ff4f45 100644
--- a/nslcd/util.c
+++ b/nslcd/util.c
@@ -301,7 +301,7 @@ enum nss_status _nss_ldap_dn2uid(const char *dn,char **uid,char **buffer,
attrs[0] = attmap_passwd_uid;
attrs[1] = attmap_group_uniqueMember;
- attrs[2] = attmap_objectClass;
+ attrs[2] = "objectClass";
attrs[3] = NULL;
if (_nss_ldap_read (dn, attrs, &res) == NSS_STATUS_SUCCESS)