[PATCH] fix DC search order during domain join
urisimchoni at gmail.com
Mon Jun 29 14:24:14 MDT 2015
This is a fix to domain controller lookup in "net ads join". The fix
lets net utility give a hint to dsgetdcname() as to the type of domain
name (flat or dns), thus avoiding needless fallback from dns to
netbios and fixing site-aware to site-less fallback.
Before this fix, a failure with on-site dns falls back to netbios
first. If netbios is enabled, we waste time. If netbios is disabled,
the resulting error code is not NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND,
site-less search is not carried out. So a site with RODC cannot be
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4233 bytes
Desc: not available
More information about the samba-technical