Samba function test
Jim Myers
myersjj at us.ibm.com
Wed Jul 31 16:18:01 GMT 2002
The IFSTEST suite is only available as part of the IFS development kit.
There are a number of other differences I have found running other parts
of IFSTEST.
If I fix (some of) these, what should I do with the fixes?
Am I correct in assuming that Samba shares should produce exactly the same
results, including error codes as IFSTEST?
Jim Myers
IBM Almaden Research Center
B3-239, 408-927-2013
Andrew Bartlett <abartlet at samba.org>
Sent by: abartlet at bartlett.house
07/31/2002 04:11 PM
To: Jim Myers/Almaden/IBM at IBMUS
cc: samba-technical at samba.org
Subject: Re: Samba function test
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
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the samba-technical
mailing list