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)
commit94624e519b66def97758b8a48a01ffe9029176f0
treee657a97fb927b2490ad6dad2e1dd11c16c4aaf54
parent6cb21ccda3cb420171e2d5afb3842a6be4bd4d18
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
13 files changed:
source/auth/auth_sam.c
source/lib/genrand.c
source/libcli/auth/credentials.c
source/libcli/auth/credentials.h
source/param/loadparm.c
source/provision.ldif
source/rpc_server/config.m4
source/rpc_server/netlogon/dcerpc_netlogon.c [new file with mode: 0644]
source/rpc_server/samr/dcesrv_samr.c
source/rpc_server/samr/samdb.c
source/rpc_server/samr/samr_utils.c [moved from source/libads/ads_utils.c with 59% similarity]
source/torture/rpc/netlogon.c
source/torture/rpc/samr.c