Rework samdb handling for 'netlogon' packets.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 30 Jun 2008 02:22:50 +0000 (12:22 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 30 Jun 2008 02:22:50 +0000 (12:22 +1000)
commit6f55742b4c485258db3b8ffe36506d8623be883c
treee9ac3416cfc690aa4a341270a8a995a8fcd1ef7a
parent71439c6283e48aaa3558b05f431f302d7e448fc5
Rework samdb handling for 'netlogon' packets.

Don't reopen the samdb for every netlogon packet, and use the
system_session(), as we must access data not available to anonymous.
Perhaps we should consider a 'authenticated but not system' token, if
we want more control on this.

Andrew Bartlett
(This used to be commit d10c9b71ea7f2670c4ea5ec569bcb7f49ec41362)
source4/cldap_server/cldap_server.c
source4/nbt_server/dgram/netlogon.c
source4/nbt_server/nbt_server.c