Fix CLEAR_IF_FIRST handling of messages.tdb
authorVolker Lendecke <vl@samba.org>
Wed, 23 Apr 2008 15:13:50 +0000 (17:13 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 23 Apr 2008 20:18:26 +0000 (22:18 +0200)
commit0c4093a234dfaca6d363a6e1358f2fbf421dcd3c
treebb66bc62760c3a17a2b39aecf284855bde5f8288
parent5c3b9a38f51ce69a3e15d8799809a117acb85a72
Fix CLEAR_IF_FIRST handling of messages.tdb

We now open messages.tdb even before we do the become_daemon. become_daemon()
involves a fork and an immediate exit of the parent, thus the
parent_is_longlived argument must be set to false in this case. The parent is
not really long lived :-)
(This used to be commit 4f4781c6d17fe2db34dd5945fec52a7685448aec)
source3/lib/util.c
source3/nmbd/asyncdns.c
source3/nmbd/nmbd.c
source3/printing/printing.c
source3/smbd/server.c
source3/winbindd/winbindd.c
source3/winbindd/winbindd_cm.c
source3/winbindd/winbindd_dual.c