s4-drs: fixed the error code for EXOP_REPL_SECRET getncchanges calls
authorAndrew Tridgell <tridge@samba.org>
Thu, 19 Aug 2010 03:06:08 +0000 (13:06 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 20 Aug 2010 10:34:11 +0000 (20:34 +1000)
commitf1c6bab60e52624f5f3188689eb9452a0fdc9221
tree3f66c600350823f21bbe2c1e8357e1a8d4e2c28d
parent4cc6b5a69b1f94d96a73ac15d58ff71d2e4febfd
s4-drs: fixed the error code for EXOP_REPL_SECRET getncchanges calls

when we deny a EXOP_REPL_SECRET call we should set the exop error code
to NONE, and the main return code to WERR_DS_DRA_ACCESS_DENIED (based
on observing windows server behaviour)

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/drsuapi/getncchanges.c