s4-drsuapi: Change REPL_SECRET error code to match Windows
authorTim Beale <timbeale@catalyst.net.nz>
Wed, 16 Aug 2017 03:09:55 +0000 (15:09 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 29 Aug 2017 05:23:28 +0000 (07:23 +0200)
commit3c8fa7b27f29baf9c1c8309db2ac91816255c931
tree1cf96c8f51a0f7949fc5a9343d02e05c16a132a9
parent122c8e1fa294e7d929e3ddeb0ab0ed45d1b51f68
s4-drsuapi: Change REPL_SECRET error code to match Windows

The existing SOURCE_DISABLED error code doesn't seem to make a lot of
sense. Window sends back an ACCESS_DENIED error in the same situation,
which seems more appropriate.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/rpc_server/drsuapi/getncchanges.c