git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d930904
)
s3:winbindd: only set child_domain in the child
author
Stefan Metzmacher
<metze@samba.org>
Wed, 31 Mar 2010 18:20:26 +0000
(20:20 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 1 Apr 2010 11:01:26 +0000
(13:01 +0200)
metze
source3/winbindd/winbindd_dual.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_dual.c
b/source3/winbindd/winbindd_dual.c
index 26f92322a1e9588f0c3abb3ffca0c6cd21df368b..ca6af1f37b5765fcf260f494651e84092f911ab0 100644
(file)
--- 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()));