diff options
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index dbfd397f8b..ff9bbf1c24 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -1102,6 +1102,8 @@ int main(int argc, char **argv, char **envp) DEBUG(0,("winbindd version %s started.\n", SAMBA_VERSION_STRING)); DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE)); + db_tdb2_setup_messaging(NULL, false); + if (!reload_services_file()) { DEBUG(0, ("error opening config file\n")); exit(1); @@ -1188,6 +1190,9 @@ int main(int argc, char **argv, char **envp) exit(1); } + /* get broadcast messages */ + claim_connection(NULL,"",FLAG_MSG_GENERAL|FLAG_MSG_DBWRAP); + /* React on 'smbcontrol winbindd reload-config' in the same way as to SIGHUP signal */ messaging_register(winbind_messaging_context(), NULL, @@ -1214,6 +1219,8 @@ int main(int argc, char **argv, char **envp) MSG_WINBIND_DUMP_DOMAIN_LIST, winbind_msg_dump_domain_list); + db_tdb2_setup_messaging(winbind_messaging_context(), true); + netsamlogon_cache_init(); /* Non-critical */ /* clear the cached list of trusted domains */ |