From 53562f774662eda06563870bb7daf857df01590f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 29 Nov 2005 08:55:13 +0000 Subject: 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) --- source4/ldap_server/ldap_backend.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source4/ldap_server/ldap_backend.c') 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; } -- cgit