1
0
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:
Jelmer Vernooij
2007-12-10 18:41:55 +01:00
committed by Stefan Metzmacher
parent 9922967674
commit 6d4c598534
12 changed files with 34 additions and 36 deletions

View File

@@ -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;
}