mirror of
https://github.com/samba-team/samba.git
synced 2025-11-26 04:23:49 +03:00
r10252: a recent checkin from simo changed the handling of BASE and SUBTREE
searches in ldb to be more ldap compliant, but broke the wins server and the ejs ldb code. This fixes those up so 'make test' passes again.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
4357a2db5e
commit
dff660c23c
@@ -294,7 +294,8 @@ static NTSTATUS rootdse_Search(struct ldapsrv_partition *partition, struct ldaps
|
||||
attrs[j] = NULL;
|
||||
}
|
||||
|
||||
count = ldb_search(ldb, NULL, 0, "dn=cn=rootDSE", attrs, &res);
|
||||
count = ldb_search(ldb, ldb_dn_explode(local_ctx, "cn=rootDSE"), 0,
|
||||
NULL, attrs, &res);
|
||||
talloc_steal(local_ctx, res);
|
||||
|
||||
if (count == 1) {
|
||||
|
||||
Reference in New Issue
Block a user