mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
More share_init to more apprioriate place.
(This used to be commit b84f19f678
)
This commit is contained in:
parent
5f9abf527a
commit
9e3e0f9d39
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user