mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
s4:dsdb: No longer pass DSDB_SEARCH_ONE_ONLY flag to dsdb_search_dn()
As dsdb_search_dn() ignores this flag, passing it in doesn’t achieve anything. Signed-off-by: Jo Sutton <josutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
cdc63fa68d
commit
a397029813
@ -166,7 +166,7 @@ static int gkdi_create_root_key(TALLOC_CTX *mem_ctx,
|
||||
&server_config_res,
|
||||
server_config_dn,
|
||||
server_config_attrs,
|
||||
DSDB_SEARCH_ONE_ONLY);
|
||||
0);
|
||||
|
||||
if (ret == LDB_ERR_NO_SUCH_OBJECT) {
|
||||
ldb_asprintf_errstring(ldb, "Unable to create new GKDI root key as we do not have a GKDI server configuration at %s",
|
||||
|
Loading…
Reference in New Issue
Block a user