diff options
author | Michael Adam <obnox@samba.org> | 2009-04-01 12:23:07 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-04-01 12:26:36 +0200 |
commit | 6edaf6188c8c27e319357aba920725c5c0af815e (patch) | |
tree | 20caa1713b4e4cfde51a5532c76ef463c7096cb3 /m4 | |
parent | 1e92ddd40523f053513f9d12611e5a70c8a425f0 (diff) | |
download | samba-6edaf6188c8c27e319357aba920725c5c0af815e.tar.gz samba-6edaf6188c8c27e319357aba920725c5c0af815e.tar.bz2 samba-6edaf6188c8c27e319357aba920725c5c0af815e.zip |
s3: fix the fix for bug #6195 - dont let smbd child processes panic
This patch makes sure the original and temporary TDBs are closed
_before_ the rename. Originally, the open TDB was renamed, and so
the name passdb.tdb.tmp stayed around in the db context. Hence
upon client connect, the smbd children died because reinit_after_fork()
calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which
existed no longer...
Michael
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions