Samba function test

Jim Myers myersjj at us.ibm.com
Wed Jul 31 09:42:44 GMT 2002


Has anyone ever run Microsoft IFSTEST suite against Samba shares?

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
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba-technical mailing list