The Samba-Bugzilla – Bug 11281
IPv6 ADS LDAP Client connects fail. LDAP URL format in code is wrong.
Last modified: 2015-06-06 20:06:14 UTC
Created attachment 11071 [details]
Patch: adds IPv6 support to ADS client side LDAP connects
The attached patch fixes a bug in Samba whereby client ADS LDAP
connections fail to IPv6-only DCs.
The fault was that the code assumed that a URI containing a literal
IPv6 address has the same format as a URI containing a literal IPv4
address in it. This assumption is wrong. For IPv6 URIs, the address
must be enclosed in square brackets.
This fault breaks a number of things including IPv6-only member servers attempting to join an AD domain.
Reviewed patch attached.
Created attachment 11093 [details]
git-am fix for 4.2.next.
Created attachment 11094 [details]
git-am fix for 4.1.next.
Re-assigning to Karolin for inclusion in 4.2.next, 4.1.next.
(In reply to Jeremy Allison from comment #3)
Pushed to autobuild-v4-[1|2]-test.
(In reply to Karolin Seeger from comment #4)
Pushed to both branches.
Closing out bug report.