s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.
commit1f3cea4a200fc400fedb551a92c87f59d581b003
authorGünther Deschner <gd@samba.org>
Fri, 14 May 2010 21:21:47 +0000 (14 23:21 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 13 Jan 2011 16:58:48 +0000 (13 17:58 +0100)
tree170cc9d5de84ce7b4896ead901e4a926f1ad034d
parent4d084a825df3173e379a249a5ffd6bf791dc37c2
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 43e4323d4a009c2b18be090f183dfd8c9f561fed)
source3/winbindd/winbindd_cm.c