Load modules in lp_modules() after fork()
authorJelmer Vernooij <jelmer@samba.org>
Wed, 13 Nov 2002 19:04:17 +0000 (19:04 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 13 Nov 2002 19:04:17 +0000 (19:04 +0000)
(This used to be commit 77afa4f1679c22cde88ecc5bc7ed37951c822221)

source3/smbd/server.c

index 342c7c85cffb3adc912daa344b866c3599950e37..e9092858f4bf95fee31712b9e4bcc42b60726890 100644 (file)
@@ -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 */