Emailing: 0001-Add-IPv6-support-to-ADS-client-side-LDAP-connects.-C.patch

David Holder david.holder at
Tue May 12 09:27:03 MDT 2015

Hi All,

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.



Please review - thanks!

Best Regards,
Dr David Holder CEng FIET MIEEE

Erion Ltd, An Cala, Inverkirkaig, Lochinver, Sutherland, IV27 4LR, UK

Reception: +44 (0)1422 207000

Direct Dial: +44 (0)131 2026317

Registered in England and Wales. Registered Number 3521142
Registered Office: Newtons, 49 Coniscliffe Road, Darlington, County 
Durham, DL3 7EH, UK
VAT Number: GB 698 3633 78

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-IPv6-support-to-ADS-client-side-LDAP-connects.-C.patch
Type: text/x-patch
Size: 991 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list