summaryrefslogtreecommitdiff
path: root/source4/ldap_server/ldap_rootdse.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-17 03:21:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:20 -0500
commitcf4552761e989a4daa4a3e074a79c990c9cb1280 (patch)
tree58583bbc3ab4033e893ecc951c8f8901882ef571 /source4/ldap_server/ldap_rootdse.c
parent1f052665f304360e4c3a59f19dc98b9c70fa1299 (diff)
downloadsamba-cf4552761e989a4daa4a3e074a79c990c9cb1280.tar.gz
samba-cf4552761e989a4daa4a3e074a79c990c9cb1280.tar.bz2
samba-cf4552761e989a4daa4a3e074a79c990c9cb1280.zip
r7670: fixed rootDSE search in ldap server
(This used to be commit 0981a375cfa9d8d75b6c89613eadb9d14cf1064f)
Diffstat (limited to 'source4/ldap_server/ldap_rootdse.c')
-rw-r--r--source4/ldap_server/ldap_rootdse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_rootdse.c b/source4/ldap_server/ldap_rootdse.c
index 1740a29637..2c9f982a9a 100644
--- a/source4/ldap_server/ldap_rootdse.c
+++ b/source4/ldap_server/ldap_rootdse.c
@@ -331,7 +331,7 @@ static NTSTATUS rootdse_Search(struct ldapsrv_partition *partition, struct ldaps
attrs[j] = NULL;
}
- count = ldb_search(rootdsedb->ldb, "", 0, "dn=cn=rootDSE", attrs, &res);
+ count = ldb_search(rootdsedb->ldb, NULL, 0, "dn=cn=rootDSE", attrs, &res);
talloc_steal(rootdsedb, res);
if (count == 1) {