mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
getncchanges: Return correct denied REPL_SECRET error code
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
b01fac24ec
commit
b0d37f6ca1
@ -99,6 +99,8 @@ typedef uint32_t WERROR;
|
||||
#define WERR_ALERTED W_ERROR(0x000002E3)
|
||||
#define WERR_INVALID_PRIMARY_GROUP W_ERROR(0x0000051C)
|
||||
|
||||
#define WERR_DS_DRA_SECRETS_DENIED W_ERROR(0x000021B6)
|
||||
|
||||
#define WERR_DNS_ERROR_KEYMASTER_REQUIRED W_ERROR(0x0000238D)
|
||||
#define WERR_DNS_ERROR_NOT_ALLOWED_ON_SIGNED_ZONE W_ERROR(0x0000238E)
|
||||
#define WERR_DNS_ERROR_INVALID_NSEC3_PARAMETERS W_ERROR(0x0000238F)
|
||||
|
@ -1117,7 +1117,7 @@ denied:
|
||||
DEBUG(2,(__location__ ": Denied single object with secret replication for %s by RODC %s\n",
|
||||
ldb_dn_get_linearized(obj_dn), ldb_dn_get_linearized(rodc_res->msgs[0]->dn)));
|
||||
ctr6->extended_ret = DRSUAPI_EXOP_ERR_NONE;
|
||||
return WERR_DS_DRA_ACCESS_DENIED;
|
||||
return WERR_DS_DRA_SECRETS_DENIED;
|
||||
|
||||
allowed:
|
||||
DEBUG(2,(__location__ ": Allowed single object with secret replication for %s by %s %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user