mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
s4-drs: don't give an error on repsTo delete if add is also specified
w2k8-r2 in dcpromo asks for a delete+add during its initial join.
This commit is contained in:
parent
0bc902ac84
commit
e809b721e9
@ -105,7 +105,9 @@ static WERROR uref_del_dest(struct ldb_context *sam_ctx, TALLOC_CTX *mem_ctx,
|
||||
return werr;
|
||||
}
|
||||
|
||||
if (!found && !(options & DRSUAPI_DS_REPLICA_UPDATE_GETCHG_CHECK)) {
|
||||
if (!found &&
|
||||
!(options & DRSUAPI_DS_REPLICA_UPDATE_GETCHG_CHECK) &&
|
||||
!(options & DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE)) {
|
||||
return WERR_DS_DRA_REF_NOT_FOUND;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user