* cleanup more DC name resolution issues in check_*domain_security()
authorGerald Carter <jerry@samba.org>
Mon, 30 Jun 2003 20:45:14 +0000 (20:45 +0000)
committerGerald Carter <jerry@samba.org>
Mon, 30 Jun 2003 20:45:14 +0000 (20:45 +0000)
commite359dbcedb53b03df79140c30ecfdfdbcb904595
tree8d477ea151c844936e561822256321bff580c588
parenta32ae05744e8e065bc4be56e93875c29182bb760
* cleanup more DC name resolution issues in check_*domain_security()
* is_trusted_domain() is broken without winbind.  Still working on this.
* get_global_sam_name() should return the workgroup name unless we
  are a standalone server (verified by volker)
* Get_Pwnam() should always fall back to the username (minus domain name)
  even if it is not our workgroup so that TRUSTEDOMAIN\user can logon
  if 'user' exists in the local list of accounts (on domain members w/o
  winbind)

Tested using Samba PDC with trusts (running winbindd) and a Samba 3.0
domain member not running winbindd.

notes: make_user_info_map() is slightly broken now due to the
fact that is_trusted_domain() only works with winbindd.  disabled
checks temporarily until I can sort this out.
(This used to be commit e1d6094d066d4c16ab73075caba40a1ae6c56b1e)
source3/Makefile.in
source3/auth/auth_domain.c
source3/auth/auth_util.c
source3/libsmb/namequery_dc.c
source3/libsmb/trusts_util.c
source3/nsswitch/winbindd_cm.c
source3/passdb/passdb.c
source3/rpc_server/srv_netlog_nt.c