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)
committerKarolin Seeger <kseeger@samba.org>
Wed, 19 May 2010 11:16:45 +0000 (13:16 +0200)
commit43e4323d4a009c2b18be090f183dfd8c9f561fed
treebf5946532287831e94840cb3177befbb155cd808
parent6d851e16cf67832ad1749a63ec69faf865d9ed45
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