1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

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 260e7e2740)
This commit is contained in:
Jeremy Allison 1998-08-25 02:29:17 +00:00
parent 8afc9c80ac
commit 5ae06b99c0
2 changed files with 4 additions and 2 deletions

View File

@ -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));

View File

@ -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));