summaryrefslogtreecommitdiff
path: root/source4/ldap_server/ldap_backend.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-29 08:55:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:50 -0500
commit53562f774662eda06563870bb7daf857df01590f (patch)
tree022eff0d76d84d7ad08c40f0d2ed4b97afc78bba /source4/ldap_server/ldap_backend.c
parent4ccadc164e144085de4ace0dc5f3f40719fdc527 (diff)
downloadsamba-53562f774662eda06563870bb7daf857df01590f.tar.gz
samba-53562f774662eda06563870bb7daf857df01590f.tar.bz2
samba-53562f774662eda06563870bb7daf857df01590f.zip
r11955: got rid of the old rootDSE code in the ldap server.
The partitioning logic is still there, but we only have one partition. If we need partitioning in the future it might be better to remove this partitioning code and use a partitioning module instead (This used to be commit f4685e7dc9bdc3b9e240c9f5891b9da9251f82e5)
Diffstat (limited to 'source4/ldap_server/ldap_backend.c')
-rw-r--r--source4/ldap_server/ldap_backend.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index 65e6d9d4d4..a1c08fcc99 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -51,11 +51,6 @@ void ldapsrv_queue_reply(struct ldapsrv_call *call, struct ldapsrv_reply *reply)
struct ldapsrv_partition *ldapsrv_get_partition(struct ldapsrv_connection *conn, const char *dn, uint8_t scope)
{
- if (scope == LDAP_SEARCH_SCOPE_BASE
- && strcasecmp("", dn) == 0) {
- return conn->rootDSE;
- }
-
return conn->default_partition;
}