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)
commit4f4781c6d17fe2db34dd5945fec52a7685448aec
tree33138abd4fea00c187987d3d47c24443d19f811a
parentf8c364da94fac96450116be980e38ddddd3f304a
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 :-)
source/lib/util.c
source/nmbd/asyncdns.c
source/nmbd/nmbd.c
source/printing/printing.c
source/smbd/server.c
source/winbindd/winbindd.c
source/winbindd/winbindd_cm.c
source/winbindd/winbindd_dual.c