mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s4-drs: removed the warning on WRIT_REP being set
we just need to clear this flag
This commit is contained in:
parent
bd7f9813de
commit
826177bd24
@ -1027,10 +1027,8 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_
|
||||
security_level = security_session_user_level(dce_call->conn->auth_state.session_info,
|
||||
samdb_domain_sid(sam_ctx));
|
||||
if (security_level == SECURITY_RO_DOMAIN_CONTROLLER &&
|
||||
(req8->replica_flags & DRSUAPI_DRS_WRIT_REP) &&
|
||||
req8->extended_op != DRSUAPI_EXOP_REPL_SECRET) {
|
||||
DEBUG(3,(__location__ ": Removing WRIT_REP flag for replication by RODC %s\n",
|
||||
dom_sid_string(mem_ctx, user_sid)));
|
||||
req8->replica_flags & DRSUAPI_DRS_WRIT_REP) {
|
||||
/* we rely on this flag being unset for RODC requests */
|
||||
req8->replica_flags &= ~DRSUAPI_DRS_WRIT_REP;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user