I think the lookup_pdc_name() should be called lookup_dc_name() and the
authorTim Potter <tpot@samba.org>
Thu, 29 Nov 2001 05:50:32 +0000 (05:50 +0000)
committerTim Potter <tpot@samba.org>
Thu, 29 Nov 2001 05:50:32 +0000 (05:50 +0000)
commitff27a326f17223cba12b7e0b41ec84aad8238385
treed1374839939104a08f1f309cab2004e223b9656c
parent5bfc7214afb23984acc7aba9fd7a57eec7c18d6d
I think the lookup_pdc_name() should be called lookup_dc_name() and the
name_status_find() call here should look up a #1c name instead of #1d.
This fixes some bugs currently with BDC authentication in winbindd and in
smbd as you can't query the #1d name with the ip address of a BDC.

Who is Uncle Tom Cobbley anyway?
(This used to be commit 4215048f7b20a8f9e5877bdbb2f54841b2f7fa64)
source3/auth/auth_domain.c
source3/libsmb/namequery.c
source3/nsswitch/winbindd_cm.c
source3/rpc_client/cli_trust.c