diff options
author | Simo Sorce <idra@samba.org> | 2007-04-12 21:10:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:19 -0500 |
commit | 59523f55a92505967ae1706f8965bebe3f91caf2 (patch) | |
tree | 39f6c5451b963feb2140e281a2b1cd8d8fcc5944 /source3/nsswitch/winbindd_dual.c | |
parent | 9f41ff47d0efc17cc4bf2f210aa05d2865798386 (diff) | |
download | samba-59523f55a92505967ae1706f8965bebe3f91caf2.tar.gz samba-59523f55a92505967ae1706f8965bebe3f91caf2.tar.bz2 samba-59523f55a92505967ae1706f8965bebe3f91caf2.zip |
r22204: Workaround to quickly close bug #4508
This hack makes thing work, but we will need to try again to
make the getpw* calls fully async, that's the real fix.
(This used to be commit 2552859b3d9e28d5f25b339f5d24a8d2dc36b46b)
Diffstat (limited to 'source3/nsswitch/winbindd_dual.c')
-rw-r--r-- | source3/nsswitch/winbindd_dual.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c index 26debd2674..20cf55b51d 100644 --- a/source3/nsswitch/winbindd_dual.c +++ b/source3/nsswitch/winbindd_dual.c @@ -921,6 +921,9 @@ static BOOL fork_domain_child(struct winbindd_child *child) child); } + /* quick hack to avoid a loop in idmap, proper fix later */ + set_idmap_in_own_child(); + while (1) { int ret; |