diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-21 16:21:32 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-28 18:06:23 +0100 |
commit | 5374be2acb8cffdd07e63691b1904ef8dc7054c2 (patch) | |
tree | 5cda8de687443db04fd0a634accc9b9a822562f0 | |
parent | 76d6c43ef28ef06d8b2e603da0fa8e5c6faf5fdd (diff) | |
download | samba-5374be2acb8cffdd07e63691b1904ef8dc7054c2.tar.gz samba-5374be2acb8cffdd07e63691b1904ef8dc7054c2.tar.xz samba-5374be2acb8cffdd07e63691b1904ef8dc7054c2.zip |
More share_init to more apprioriate place.
(This used to be commit 990135517618afcef873f0cd0e6f8c3098247b50)
-rw-r--r-- | source4/smb_server/smb_server.c | 1 | ||||
-rw-r--r-- | source4/smbd/server.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c index 9a8a8cf5c4..c031b5bd65 100644 --- a/source4/smb_server/smb_server.c +++ b/source4/smb_server/smb_server.c @@ -253,5 +253,6 @@ failed: /* called at smbd startup - register ourselves as a server service */ NTSTATUS server_service_smb_init(void) { + share_init(); return register_server_service("smb", smbsrv_task_init); } diff --git a/source4/smbd/server.c b/source4/smbd/server.c index fdeb541576..fe38a4e5ab 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -282,8 +282,6 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[ exit(1); } - share_init(); - gensec_init(cmdline_lp_ctx); /* FIXME: */ ntptr_init(cmdline_lp_ctx); /* FIXME: maybe run this in the initialization function |