summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_dual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index f8b802dafa..e1ed2d6763 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -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;