mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +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 used to be commit f4685e7dc9
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
4ccadc164e
commit
53562f7746
@ -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