summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-19 18:45:19 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-19 18:45:19 +0000
commit47ea3a2bf242a446f658f1573ec5d3ea533333f0 (patch)
treee541097b7374b3cecd72e2ed8e011c9cec9e3a18 /source3/smbd
parent45df237d13316a1ec2074aec5023973b7681d860 (diff)
downloadsamba-47ea3a2bf242a446f658f1573ec5d3ea533333f0.tar.gz
samba-47ea3a2bf242a446f658f1573ec5d3ea533333f0.tar.bz2
samba-47ea3a2bf242a446f658f1573ec5d3ea533333f0.zip
Put in the new modules system. It's now used by passdb and rpc. I will
put a doc about it in dev-doc later today. (This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index aff402df66..96d936d3a8 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -411,9 +411,6 @@ static BOOL open_sockets_smbd(BOOL is_daemon, BOOL interactive, const char *smb_
return False;
}
- /* Load DSO's */
- init_modules();
-
return True;
}
/* The parent doesn't need this socket */
@@ -866,6 +863,10 @@ static BOOL init_structs(void )
if(!initialize_password_db(False))
exit(1);
+ static_init_rpc;
+
+ init_modules();
+
uni_group_cache_init(); /* Non-critical */
/* possibly reload the services file. */