1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00
Uri Simchoni ed2ed1ad69 net: fix the order of DC lookup methods when joining a domain
The dsgetdcname() function is able to try just DNS lookup, just NetBIOS,
or start with DNS and fall back to NetBIOS. For "net ads join", we know
most of the time whether the name of the domain we're joining is a DNS
name or a NetBIOS name. In that case, it makes no sense to try both lookup
methods, especially that DNS may fail and we want to fall back from site-aware
DNS lookup to site-less DNS lookup, with no NetBIOS lookup in between.

This change lets "net ads join" tell libnet what is the type of the domain
name, if it is known.

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
Reviewed-by: Jeremy Allison <jra@samba.org>
2015-07-09 12:33:25 +02:00
..
2015-04-28 20:48:01 +02:00
2015-04-28 20:48:01 +02:00
2015-07-07 23:51:24 +02:00
2015-03-17 11:30:52 +01:00
2015-07-07 23:51:24 +02:00
2015-04-28 20:48:01 +02:00
2015-04-28 18:11:13 +02:00
2015-01-19 06:48:05 +01:00
2015-07-07 23:51:24 +02:00
2015-02-25 16:32:29 +01:00
2015-02-25 16:32:29 +01:00
2015-07-07 23:51:24 +02:00