mirror of
https://github.com/samba-team/samba.git
synced 2025-10-29 04:23:51 +03:00
r26382: Remove more uses of global_loadparm.
This commit is contained in:
committed by
Stefan Metzmacher
parent
9922967674
commit
6d4c598534
@@ -156,7 +156,8 @@ static void smbsrv_accept(struct stream_connection *conn)
|
||||
|
||||
smbsrv_management_init(smb_conn);
|
||||
|
||||
if (!NT_STATUS_IS_OK(share_get_context(smb_conn, &(smb_conn->share_context)))) {
|
||||
if (!NT_STATUS_IS_OK(share_get_context_by_name(smb_conn, lp_share_backend(smb_conn->lp_ctx),
|
||||
&(smb_conn->share_context)))) {
|
||||
smbsrv_terminate_connection(smb_conn, "share_init failed!");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user