r743: Start on a NETLOGON server in Samba4.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 15 May 2004 07:51:38 +0000 (07:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:53:46 +0000 (12:53 -0500)
commit064e7447bebd715c8351d9a0ee31f648990f2336
tree156925cd7c8d4616f0eca3a743b7323b3b0b23b7
parent31b9470996632d717c3c74482308e200906fdb8f
r743: Start on a NETLOGON server in Samba4.

Currently this only authentiates the machine, not real users.

As a consequence of running the Samba4 NETLOGON test against Samba4, I
found a number of issues in the SAMR server, which I have addressed.
There are more templates in the provison.ldif for this reason.

I also added some debug to our credentials code, and fixed some bugs
in the auth_sam module.

The static buffer in generate_random_string() bit me badly, so I
removed it in favor of a talloc based system.

Andrew Bartlett
(This used to be commit 94624e519b66def97758b8a48a01ffe9029176f0)
13 files changed:
source4/auth/auth_sam.c
source4/lib/genrand.c
source4/libcli/auth/credentials.c
source4/libcli/auth/credentials.h
source4/param/loadparm.c
source4/provision.ldif
source4/rpc_server/config.m4
source4/rpc_server/netlogon/dcerpc_netlogon.c [new file with mode: 0644]
source4/rpc_server/samr/dcesrv_samr.c
source4/rpc_server/samr/samdb.c
source4/rpc_server/samr/samr_utils.c [moved from source4/libads/ads_utils.c with 59% similarity]
source4/torture/rpc/netlogon.c
source4/torture/rpc/samr.c