1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3: Remove the smbd_server_conn ref from dfs_redirect

This commit is contained in:
Volker Lendecke 2011-09-24 05:35:20 +02:00
parent 425b93ef69
commit cb2b5c521b

View File

@ -720,6 +720,7 @@ static NTSTATUS dfs_redirect(TALLOC_CTX *ctx,
connection_struct *conn,
const char *path_in,
bool search_wcard_flag,
bool allow_broken_path,
char **pp_path_out,
bool *ppath_contains_wcard)
{
@ -731,7 +732,7 @@ static NTSTATUS dfs_redirect(TALLOC_CTX *ctx,
}
status = parse_dfs_path(conn, path_in, search_wcard_flag,
!smbd_server_conn->using_smb2, pdp,
allow_broken_path, pdp,
ppath_contains_wcard);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(pdp);
@ -1810,6 +1811,7 @@ NTSTATUS resolve_dfspath_wcard(TALLOC_CTX *ctx,
conn,
name_in,
allow_wcards,
!smbd_server_conn->using_smb2,
pp_name_out,
&path_contains_wcard);