summaryrefslogtreecommitdiff
path: root/nslcd/util.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-09-09 15:06:11 +0000
committerArthur de Jong <arthur@arthurdejong.org>2007-09-09 15:06:11 +0000
commit88e2db4c821ed27f49f257d7dd7b279e55cc8d30 (patch)
tree2620d88b9d8793c7108ce9b8aa2db2f1099b5411 /nslcd/util.c
parent3c0422d53b51bc72860e82ae55c1e9d708d23ae7 (diff)
change naming of search functions to clearly indicate whether the synchronous or the asynchronous interface is used
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@389 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 3ff4f45..ce26634 100644
--- a/nslcd/util.c
+++ b/nslcd/util.c
@@ -304,7 +304,7 @@ enum nss_status _nss_ldap_dn2uid(const char *dn,char **uid,char **buffer,
attrs[2] = "objectClass";
attrs[3] = NULL;
- if (_nss_ldap_read (dn, attrs, &res) == NSS_STATUS_SUCCESS)
+ if (_nss_ldap_read_sync(dn, attrs, &res)==NSS_STATUS_SUCCESS)
{
LDAPMessage *e = _nss_ldap_first_entry (res);
if (e != NULL)