r3561: Since we have tdb_reopen_all() after all forks, the local_pid logic is not
authorVolker Lendecke <vlendec@samba.org>
Fri, 5 Nov 2004 21:55:21 +0000 (21:55 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:09 +0000 (10:53 -0500)
commit9c61daf667ca0ac939f4bd724d1c0f708983f82a
tree716bcabf87e518deaea6339d904501e4e3b67afb
parentbaf1ae1b0e86e16cc1364d64463d654e297fa221
r3561: Since we have tdb_reopen_all() after all forks, the local_pid logic is not
correct anymore. If we actually open the tdb before the fork, we end up
opening the tdb twice. Jerry, jra, this also happens in the locking and
printing subsystems. You might want to check it there (not that it actually
happens right now, but this gave me some confusion lately...).

Volker
(This used to be commit 40cad9dcc14ddec0ce74bb9010d13bd82e4d10af)
source3/groupdb/mapping.c
source3/lib/account_pol.c