print_notify_send_messages(3); /* 3 second timeout. */
+ /* run all registered exit events */
+ smb_run_exit_events();
+
/* delete our entry in the connections database. */
yield_connection(NULL,"");
if (!init_registry())
exit(1);
- if (!idmap_init(lp_idmap_backend()))
+ if(!initialize_password_db(False))
exit(1);
- if(!initialize_password_db(False))
+ if (!idmap_init())
+ exit(1);
+
+ if (!idmap_init_wellknown_sids())
exit(1);
static_init_rpc;
if (!init_change_notify())
exit(1);
- /* Setup privileges database */
- if (!privilege_init())
- exit(1);
-
/* re-initialise the timezone */
TimeInit();