diff options
author | Jeremy Allison <jra@samba.org> | 1998-08-25 02:29:17 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-08-25 02:29:17 +0000 |
commit | 5ae06b99c06313d1465b03d5120e7fbf6a87b9e5 (patch) | |
tree | bbfb20bf122e5fd95b38966b6d459e13a69a90d7 /source3 | |
parent | 8afc9c80ac11649f06e5517d819dbf201c941acb (diff) | |
download | samba-5ae06b99c06313d1465b03d5120e7fbf6a87b9e5.tar.gz samba-5ae06b99c06313d1465b03d5120e7fbf6a87b9e5.tar.bz2 samba-5ae06b99c06313d1465b03d5120e7fbf6a87b9e5.zip |
Added code to (correctly) ignore TRANSACT2_SETFILEINFO with SMB_SET_FILE_ALLOCATION_INFO.
Office 97 expects this call to succeed when you tell it you do NT SMB calls.
Jeremy.
(This used to be commit 260e7e27401d863e9f580d4748c577334d9fc9d0)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/open.c | 2 | ||||
-rw-r--r-- | source3/smbd/trans2.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 311eac07e5..e54a456092 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -530,7 +530,7 @@ static void open_file(files_struct *fsp,connection_struct *conn, } DEBUG(2,("%s opened file %s read=%s write=%s (numopen=%d)\n", - *sesssetup_user ? sesssetup_user : conn->user,fname, + *sesssetup_user ? sesssetup_user : conn->user,fsp->fsp_name, BOOLSTR(fsp->can_read), BOOLSTR(fsp->can_write), conn->num_files_open)); diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 1dfb488b9e..fe22a21ca1 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1566,8 +1566,10 @@ static int call_trans2setfilepathinfo(connection_struct *conn, break; } + case SMB_SET_FILE_ALLOCATION_INFO: + break; /* We don't need to do anything for this call. */ + case SMB_SET_FILE_DISPOSITION_INFO: /* not supported yet */ - case SMB_SET_FILE_ALLOCATION_INFO: /* not supported yet */ default: { return(ERROR(ERRDOS,ERRunknownlevel)); |