NETLOGON pipe improvements
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 12 Jun 2009 10:38:22 +0000 (12:38 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 18 Jun 2009 03:49:25 +0000 (13:49 +1000)
commitefe6552f0c1b2cf7e7f95987e7c808667166a303
treecae01772b8433e1ba5361cc0ce979a861c702742
parentf666da6940c2cc0c82419ec68b1a83bddfe680c9
NETLOGON pipe improvements

Patch for bug #4939

This refactors the NETLOGON code related to this bug:

- Introduces a new "SYNCSTATE" enum required by the "DatabaseSync2" call (acc.
to WSPP)
- Make "DatabaseSync" dependant from "DatabaseSync2" (acc. to WSPP)
- Let "DatabaseSync2" return NT_STATUS_NOT_IMPLEMENTED (I'm not sure if this is
also true when a domain is running in mixed mode)
- Make "LogonControl" and "LogonControl2" dependant form "LogonControl2Ex"
(acc. to WSPP)
- Let "LogonControl2Ex" return WERR_NOT_SUPPORTED for now
librpc/gen_ndr/cli_netlogon.c
librpc/gen_ndr/cli_netlogon.h
librpc/gen_ndr/ndr_netlogon.c
librpc/gen_ndr/ndr_netlogon.h
librpc/gen_ndr/netlogon.h
librpc/gen_ndr/srv_netlogon.c
librpc/idl/netlogon.idl
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/torture/rpc/netlogon.c