diff options
author | Jeremy Allison <jra@samba.org> | 2022-08-03 09:27:37 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-08-04 17:09:31 +0000 |
commit | 2ad3e63fe02e6ca3ff4d5b70b0f3795e8cd414ba (patch) | |
tree | 2b696ad40b66d7bc01758f0ddbb44a7e0ea24fa1 /source3/smbd | |
parent | 74715a750533cb350dc1f48e7e9d5ebd121c68ba (diff) | |
download | samba-2ad3e63fe02e6ca3ff4d5b70b0f3795e8cd414ba.tar.gz |
s3: smbd: Remove const from name_in parameter to filename_convert_smb1_search_path().
We're going to need to convert in place if it's an MSDFS path
with an SMB1 @GMT token.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/filename.c | 2 | ||||
-rw-r--r-- | source3/smbd/proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 4d5428c33ca..3a7ec585435 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -2161,7 +2161,7 @@ static char *strip_gmt_from_raw_dfs(TALLOC_CTX *ctx, NTSTATUS filename_convert_smb1_search_path(TALLOC_CTX *ctx, connection_struct *conn, - const char *name_in, + char *name_in, uint32_t ucf_flags, struct smb_filename **_smb_fname_out, char **_mask_out) diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 21eb32a9388..5aa690062f7 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -383,7 +383,7 @@ NTSTATUS filename_convert(TALLOC_CTX *mem_ctx, struct smb_filename **pp_smb_fname); NTSTATUS filename_convert_smb1_search_path(TALLOC_CTX *ctx, connection_struct *conn, - const char *name_in, + char *name_in, uint32_t ucf_flags, struct smb_filename **_smb_fname_out, char **_mask_out); |