summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-02-03 11:10:56 +0000
committerStefan Metzmacher <metze@samba.org>2004-02-03 11:10:56 +0000
commit1c798aba40fb0e389c7a54ad3d8f7d45876f2809 (patch)
tree3ee4790e25089106db52b1f16d20583f7bf90b9e /source4/smbd
parenta9b28120b84fd63e333d5be26fe8116c85f12c87 (diff)
downloadsamba-1c798aba40fb0e389c7a54ad3d8f7d45876f2809.tar.gz
samba-1c798aba40fb0e389c7a54ad3d8f7d45876f2809.tar.bz2
samba-1c798aba40fb0e389c7a54ad3d8f7d45876f2809.zip
- port AUTH and PASSDB subsystems to new
SMB_SUBSYSTEM() scheme - some const fixes in ntvfs metze (This used to be commit af89a78123068767b1d134969c5651a0fd978b0d)
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process.c13
1 files changed, 10 insertions, 3 deletions
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);