r1061: The start of the SamLogon call for the NETLOGON pipe.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 7 Jun 2004 08:54:49 +0000 (08:54 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:56:35 +0000 (12:56 -0500)
commit6c92563b7961f15fc74b02601e105d5e1d04f04d
treee08525d441c5821c9d7f1ed85bdf28478fd38bd4
parent5a90187c2cb7521cb7931355e5cf2f11d55a4ad0
r1061: The start of the SamLogon call for the NETLOGON pipe.

Changes:

- Check for a valid 'pipe_state' in netr_ServerAuthenticate3 before
  we dereference it

- removes the expansionroom[7] in the netr_SamInfo* structs to 7
individual elements.
- renames netr_SamInfo -> netr_SamInfo2
          netr_SamInfo2 -> netr_SamInfo3
  - Having the thing we always called an 'info3' being 'netr_SamInfo2'
    was just too confusing.

- Expand and fill in extra details about users from the SAM, into
  the server_info, for processing into the SamLogon reply.

- Add a dum_sid_dup() function to duplicate a struct dom_sid

The SamLogon code currently does not return supplementary groups, and is
only tested with Samba4 smbtorture.

Andrew Bartlett
source/libcli/util/dom_sid.c
source/librpc/idl/netlogon.idl
source/rpc_server/netlogon/dcerpc_netlogon.c
source/torture/rpc/netlogon.c