Samba function test
Andrew Bartlett
abartlet at samba.org
Wed Jul 31 16:13:02 GMT 2002
Jim Myers wrote:
>
> Has anyone ever run Microsoft IFSTEST suite against Samba shares?
Probably not - but it sounds like a good idea. Is it publicly
available, or only in the IFS development kit?
> When I try to run these test cases, the 3rd test () fails on a
> directory create with the temporary option.
> This is considered invalid by Microsoft and Samba flunks this test.
>
> Module nttrans.c needs the following code added in
> reply_ntcreate_and_X() to add this check:
>
> if((file_attributes & FILE_ATTRIBUTE_TEMPORARY) > 0) {
> DEBUG(0,("reply_ntcreate_and_X: Directory %s with Temporary flag is
> invalid\n",
> fname));
> return(ERROR_NT(NT_STATUS_INVALID_PARAMETER));
> }
>
> Jim Myers
> IBM Almaden Research Center
> B3-239, 408-927-2013
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba-technical
mailing list