summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-11-13 19:04:17 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-11-13 19:04:17 +0000
commitba7056a842f6e559e61634b43b002a759e2e5fee (patch)
tree0b35183d31f4a35f6b3f8aa446d602a33daa1419 /source3/smbd/server.c
parent2e2a5d50eb0fcbfdab14e56d6150a1bd35d57f28 (diff)
downloadsamba-ba7056a842f6e559e61634b43b002a759e2e5fee.tar.gz
samba-ba7056a842f6e559e61634b43b002a759e2e5fee.tar.bz2
samba-ba7056a842f6e559e61634b43b002a759e2e5fee.zip
Load modules in lp_modules() after fork()
(This used to be commit 77afa4f1679c22cde88ecc5bc7ed37951c822221)
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 342c7c85cf..e9092858f4 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -373,6 +373,10 @@ static BOOL open_sockets_smbd(BOOL is_daemon,const char *smb_ports)
return False;
}
+ /* Load DSO's */
+ if(lp_modules())
+ smb_load_modules(lp_modules());
+
return True;
}
/* The parent doesn't need this socket */