1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/dsdb
Andrew Bartlett 7032b86cd5 s4-dsdb: Schedule SD propegation only after successful rename
This avoids needing to anticipate errors that the rename might give
while allowing the dsdb_find_nc_root() routine to become stricter.

The problem is that dsdb_find_nc_root() will soon do a real search and
so fail more often, but these failures will give "wrong" error codes.

We do not need to do this work if the operation fails, so put this in
the callback.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2023-01-31 12:50:33 +00:00
..
common s4-dsdb: Rework dsdb_find_dn_by_guid() to use GUID_buf_string() 2023-01-31 12:50:32 +00:00
dns s4: rename source4/smbd/ to source4/samba/ 2020-11-27 10:07:18 +00:00
kcc dsdb periodic: DNS: split aging from tombstone deletion 2021-06-20 23:26:32 +00:00
repl s4-join: Fix typos in recent GET_ANC patch set 2022-10-21 03:57:33 +00:00
samdb s4-dsdb: Schedule SD propegation only after successful rename 2023-01-31 12:50:33 +00:00
schema dsdb/schema: let dsdb_syntax_DN_BINARY_drsuapi_to_ldb return WERR_DS_INVALID_ATTRIBUTE_SYNTAX 2022-01-12 03:09:52 +00:00
tests/python python: Replace calls to deprecated methods 2023-01-30 09:00:39 +00:00
pydsdb.c CVE-2022-37966 s4:pydsdb: add ENC_HMAC_SHA1_96_AES256_SK 2022-12-13 13:07:30 +00:00
samdb.pc.in
wscript_build CVE-2020-25718 dsdb: Bring sid_helper.c into common code as rodc_helper.c 2021-11-09 19:45:34 +00:00