diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-21 16:21:32 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-21 16:21:32 +0100 |
commit | 9e3e0f9d3946d3866a7a2557a06fe91378ad0f04 (patch) | |
tree | a9fc87142ae2ec63d42d32fd9e7228a86258b087 | |
parent | 5f9abf527a2f7d58d0b5546cb237f82928b53e49 (diff) | |
download | samba-9e3e0f9d3946d3866a7a2557a06fe91378ad0f04.tar.gz samba-9e3e0f9d3946d3866a7a2557a06fe91378ad0f04.tar.bz2 samba-9e3e0f9d3946d3866a7a2557a06fe91378ad0f04.zip |
More share_init to more apprioriate place.
(This used to be commit b84f19f6783cbeaa8d04848fdc0b6f21b5e379a3)
-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 dd63ca1eca..8ad3e030ff 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 |