s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.
authorGünther Deschner <gd@samba.org>
Fri, 14 May 2010 21:21:47 +0000 (23:21 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 17 May 2010 10:47:34 +0000 (12:47 +0200)
commit14ac2bb36ee22be6133ca1d069dc5de6c1891f47
treecf5781df2d2e4e3f30c2b6db990c8a19b18f57b5
parentd040658e1a5a48c6cc33640de37771d601c69a76
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
source3/winbindd/winbindd_cm.c