summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-23 17:13:50 +0200
committerVolker Lendecke <vl@samba.org>2008-04-23 22:18:26 +0200
commit0c4093a234dfaca6d363a6e1358f2fbf421dcd3c (patch)
treebb66bc62760c3a17a2b39aecf284855bde5f8288 /source3/winbindd/winbindd.c
parent5c3b9a38f51ce69a3e15d8799809a117acb85a72 (diff)
downloadsamba-0c4093a234dfaca6d363a6e1358f2fbf421dcd3c.tar.gz
samba-0c4093a234dfaca6d363a6e1358f2fbf421dcd3c.tar.bz2
samba-0c4093a234dfaca6d363a6e1358f2fbf421dcd3c.zip
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)
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r--source3/winbindd/winbindd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 64674b8ace..1072f8e762 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -1189,7 +1189,7 @@ int main(int argc, char **argv, char **envp)
TimeInit();
- if (!reinit_after_fork(winbind_messaging_context())) {
+ if (!reinit_after_fork(winbind_messaging_context(), false)) {
DEBUG(0,("reinit_after_fork() failed\n"));
exit(1);
}