mirror of
https://github.com/samba-team/samba.git
synced 2025-09-05 13:44:19 +03:00
smbd: pass session info to create_conn_struct_tos_cwd()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
@@ -1121,7 +1121,7 @@ NTSTATUS get_referred_path(TALLOC_CTX *ctx,
|
|||||||
status = create_conn_struct_tos_cwd(global_messaging_context(),
|
status = create_conn_struct_tos_cwd(global_messaging_context(),
|
||||||
snum,
|
snum,
|
||||||
lp_path(frame, lp_sub, snum),
|
lp_path(frame, lp_sub, snum),
|
||||||
NULL,
|
session_info,
|
||||||
&c);
|
&c);
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status)) {
|
||||||
TALLOC_FREE(frame);
|
TALLOC_FREE(frame);
|
||||||
@@ -1340,7 +1340,7 @@ static bool junction_to_local_path_tos(const struct junction_map *jucn,
|
|||||||
status = create_conn_struct_tos_cwd(global_messaging_context(),
|
status = create_conn_struct_tos_cwd(global_messaging_context(),
|
||||||
snum,
|
snum,
|
||||||
lp_path(talloc_tos(), lp_sub, snum),
|
lp_path(talloc_tos(), lp_sub, snum),
|
||||||
NULL,
|
session_info,
|
||||||
&c);
|
&c);
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status)) {
|
||||||
return False;
|
return False;
|
||||||
@@ -1571,7 +1571,7 @@ static size_t count_dfs_links(TALLOC_CTX *ctx,
|
|||||||
status = create_conn_struct_tos_cwd(global_messaging_context(),
|
status = create_conn_struct_tos_cwd(global_messaging_context(),
|
||||||
snum,
|
snum,
|
||||||
connect_path,
|
connect_path,
|
||||||
NULL,
|
session_info,
|
||||||
&c);
|
&c);
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status)) {
|
||||||
DEBUG(3, ("create_conn_struct failed: %s\n",
|
DEBUG(3, ("create_conn_struct failed: %s\n",
|
||||||
@@ -1675,7 +1675,7 @@ static int form_junctions(TALLOC_CTX *ctx,
|
|||||||
status = create_conn_struct_tos_cwd(global_messaging_context(),
|
status = create_conn_struct_tos_cwd(global_messaging_context(),
|
||||||
snum,
|
snum,
|
||||||
connect_path,
|
connect_path,
|
||||||
NULL,
|
session_info,
|
||||||
&c);
|
&c);
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status)) {
|
||||||
DEBUG(3, ("create_conn_struct failed: %s\n",
|
DEBUG(3, ("create_conn_struct failed: %s\n",
|
||||||
|
Reference in New Issue
Block a user