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

David Holder david.holder at erion.co.uk
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.

E.g:

ldap://192.168.1.1
ldap://[2045::1]

Please review - thanks!

Best Regards,
David
-- 
------------------------------------------------------------------------
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

http://www.erion.co.uk


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: <http://lists.samba.org/pipermail/samba-technical/attachments/20150512/e2eb5653/attachment.bin>


More information about the samba-technical mailing list