mirror of
https://github.com/samba-team/samba.git
synced 2025-11-05 04:23:51 +03:00
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 commit is contained in:
committed by
Gerald (Jerry) Carter
parent
cfab88fcc2
commit
f4685e7dc9
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user