diff options
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/process.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/source4/smbd/process.c b/source4/smbd/process.c index 38f76417f69..592a0efc990 100644 --- a/source4/smbd/process.c +++ b/source4/smbd/process.c @@ -44,9 +44,6 @@ void smbd_process_init(void) if (!init_registry()) exit(1); - if(!initialize_password_db(False)) - exit(1); - /* possibly reload the services file. */ reload_services(NULL, True); @@ -73,6 +70,16 @@ void smbd_process_init(void) if (!init_change_notify()) exit(1); + /* Setup the AUTH subsystem */ + if (!auth_init()) + exit(1); + + /* Setup the PASSDB subsystem */ + if (!passdb_init()) + exit(1); + if(!initialize_password_db(False)) + exit(1); + /* Setup the NTVFS subsystem */ if (!ntvfs_init()) exit(1); |