From 1c798aba40fb0e389c7a54ad3d8f7d45876f2809 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 3 Feb 2004 11:10:56 +0000 Subject: - port AUTH and PASSDB subsystems to new SMB_SUBSYSTEM() scheme - some const fixes in ntvfs metze (This used to be commit af89a78123068767b1d134969c5651a0fd978b0d) --- source4/smbd/process.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'source4/smbd') diff --git a/source4/smbd/process.c b/source4/smbd/process.c index 38f76417f6..592a0efc99 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); -- cgit