r7423: Fix the build on sol10
authorVolker Lendecke <vlendec@samba.org>
Thu, 9 Jun 2005 07:45:29 +0000 (07:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:57:09 +0000 (10:57 -0500)
(This used to be commit e8fde1bd92e8b19c8b5ce22f92cb048de773be1c)

source3/nsswitch/winbindd_dual.c

index f8b802dafac0f8e2f00bc6e7e711b2e8d46d5b05..e1ed2d67633869dc069e7bf496611919cc7ad458 100644 (file)
@@ -563,7 +563,7 @@ static BOOL fork_domain_child(struct winbindd_child *child)
        struct winbindd_cli_state state;
        extern BOOL override_logfile;
 
-       if (socketpair(AF_LOCAL, SOCK_STREAM, 0, fdpair) != 0) {
+       if (socketpair(AF_UNIX, SOCK_STREAM, 0, fdpair) != 0) {
                DEBUG(0, ("Could not open child pipe: %s\n",
                          strerror(errno)));
                return False;