diff --git a/source4/smb_server/trans2.c b/source4/smb_server/trans2.c index 3788b44de91..f080cd2abce 100644 --- a/source4/smb_server/trans2.c +++ b/source4/smb_server/trans2.c @@ -840,7 +840,7 @@ static NTSTATUS trans2_setpathinfo(struct smbsrv_request *req, struct smb_trans2 blob = &trans->in.data; st.generic.level = (enum smb_setfileinfo_level)level; - trans2_pull_blob_string(req, &trans->in.params, 4, &st.generic.file.fname, 0); + trans2_pull_blob_string(req, &trans->in.params, 6, &st.generic.file.fname, 0); if (st.generic.file.fname == NULL) { return NT_STATUS_FOOBAR; }