s4-drs: added sam_ctx_system on DRS bind state
authorAndrew Tridgell <tridge@samba.org>
Wed, 18 Aug 2010 04:27:17 +0000 (14:27 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 20 Aug 2010 10:34:11 +0000 (20:34 +1000)
commitdc7cf47371e15a1bfe8c97341773076f00c67aa1
tree1aefe4ad9f82747a6ee723590c418ca9f7256890
parent34092c11b49a8bb16838be414cb71b0b5c2136bf
s4-drs: added sam_ctx_system on DRS bind state

The getncchanges call needs to be able to access the sam as the system
user for RODC clients. To do this it needs a sam_ctx connection with
system credentials

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