source3: initilize_password_db after a fork.
authorGary Lockyer <gary@catalyst.net.nz>
Tue, 20 Mar 2018 00:14:38 +0000 (13:14 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 6 Apr 2018 00:08:45 +0000 (02:08 +0200)
commit428c0a81aecd578e77123ca27b835b2fc8a54e26
tree6e26a0b855156f3d26c1a641314755c44745dff8
parenta98568397d37a2dc9d20f20a5bc1f5b81c5f4b4d
source3: initilize_password_db after a fork.

This is required because we need a new pointer for LDB after the fork,
and with LMDB we can not longer rely on tdb_reopen_all() to do that
for us.

This can not be done in reinit_after_fork() due to the dependency loop
this would create.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_server/lsasd.c
source3/smbd/process.c
source3/smbd/server_exit.c
source3/winbindd/winbindd.c
source3/winbindd/winbindd_dual.c