Don't use crossRef records to find our own domain
commit6ef65389fd2f2bdcafe840e0cd0221bb9f26bdfc
authorAndrew Bartlett <abartlet@samba.org>
Tue, 26 May 2009 02:31:39 +0000 (26 12:31 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 26 May 2009 02:37:09 +0000 (26 12:37 +1000)
tree04df0bce183d759a17d25483f302ed56d65e8153
parent86039855759ce38e6074f956073199b0ccd29bdf
Don't use crossRef records to find our own domain

A single AD server can only host a single domain, so don't stuff about
with looking up our crossRef record in the cn=Partitions container.
We instead trust that lp_realm() and lp_workgroup() works correctly.

Andrew Bartlett
16 files changed:
source4/auth/auth.h
source4/auth/ntlm/auth_sam.c
source4/auth/sam.c
source4/cldap_server/netlogon.c
source4/kdc/config.mk
source4/kdc/hdb-samba4.c
source4/kdc/kdc.h
source4/kdc/pac-glue.c
source4/nbt_server/dgram/netlogon.c
source4/param/loadparm.c
source4/param/param.h
source4/param/util.c
source4/rpc_server/config.mk
source4/rpc_server/lsa/lsa_init.c
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/rpc_server/samr/dcesrv_samr.c