summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-08-15 00:42:16 +0000
committerJeremy Allison <jra@samba.org>2003-08-15 00:42:16 +0000
commit8ceb628d5c09a393d7cc4f1e4301566dc9094282 (patch)
treee48f01f52175482d9d8af4c93f8e1e736eba67c9
parent6c396ea5772c26edf8a6b1b5bc295e3675e10e06 (diff)
downloadsamba-8ceb628d5c09a393d7cc4f1e4301566dc9094282.tar.gz
samba-8ceb628d5c09a393d7cc4f1e4301566dc9094282.tar.bz2
samba-8ceb628d5c09a393d7cc4f1e4301566dc9094282.zip
Ignore silently set disposition information when set on a path.
Samba4 tester. Jeremy. (This used to be commit e9cef615550fc2dc4a8a84ca080f13dc39d5b292)
-rw-r--r--source3/smbd/trans2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index b1658032f3..00e182b5b0 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2685,8 +2685,9 @@ static int call_trans2setfilepathinfo(connection_struct *conn,
if (total_data < 1)
return(ERROR_DOS(ERRDOS,ERRinvalidparam));
+ /* Just ignore this set on a path. */
if (tran_call != TRANSACT2_SETFILEINFO)
- return ERROR_DOS(ERRDOS,ERRunknownlevel);
+ break;
if (fsp == NULL)
return(UNIXERROR(ERRDOS,ERRbadfid));