From 0f95d00f49ce58a09c95b60777f8d1a65626ec37 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 31 Mar 2010 20:20:26 +0200 Subject: s3:winbindd: only set child_domain in the child metze --- source3/winbindd/winbindd_dual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd/winbindd_dual.c') diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index 26f92322a1..ca6af1f37b 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -1305,7 +1305,6 @@ static bool fork_domain_child(struct winbindd_child *child) } else { DEBUG(10, ("fork_domain_child called without domain.\n")); } - child_domain = child->domain; if (socketpair(AF_UNIX, SOCK_STREAM, 0, fdpair) != 0) { DEBUG(0, ("Could not open child pipe: %s\n", @@ -1335,6 +1334,7 @@ static bool fork_domain_child(struct winbindd_child *child) } /* Child */ + child_domain = child->domain; DEBUG(10, ("Child process %d\n", (int)sys_getpid())); -- cgit