s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.
commitc654bc0470304640b248f7f8704ee623c27a356d
authorGünther Deschner <gd@samba.org>
Fri, 14 May 2010 21:21:47 +0000 (14 23:21 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 18 Jun 2010 06:33:25 +0000 (18 08:33 +0200)
tree238e79ebf02799df7d26c913ec2e8c4da0856654
parentad8e0a92e30899fd4e3c8d15e062bfc0ddbbd966
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)
(cherry picked from commit 72d635514d9c00a09b00ed0d9928cab6a3a2f6f7)
source3/winbindd/winbindd_cm.c