s4-drs: open samdb with system credentials when authorised
authorAndrew Tridgell <tridge@samba.org>
Tue, 6 Oct 2009 07:58:13 +0000 (18:58 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Oct 2009 07:58:13 +0000 (18:58 +1100)
commita021d5513846968c54d6e065dbcb25948418676f
tree105fcb62bea94ea52fb6ae6023ea2c91ead6faf9
parent9c1e230bc217e7d1ce0ef713a17982a8536584a1
s4-drs: open samdb with system credentials when authorised

When a DC connects to DRS, open the samdb with system session
credentials, so that we don't have to re-open it each time on other
calls.
source4/rpc_server/drsuapi/dcesrv_drsuapi.c