s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.
commit72d635514d9c00a09b00ed0d9928cab6a3a2f6f7
authorGünther Deschner <gd@samba.org>
Fri, 14 May 2010 21:21:47 +0000 (14 23:21 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 19 May 2010 10:52:37 +0000 (19 12:52 +0200)
treedb2f1443ef3aa8bccccdf548fe3a18501173170c
parent73bec197a91a15aa9a69c9a3868ed51bdd3674ea
s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.

Note that this failure was hard to track, as winbind did only log a super helpful
"cm_prepare_connection: Success" debug message.

IPv6 gurus, please check

Successfully tested in two independent IPv6 networks now.

Guenther
(cherry picked from commit 14ac2bb36ee22be6133ca1d069dc5de6c1891f47)
source3/winbindd/winbindd_cm.c