Problem copying files from Win2k Novell client to Samba

Dan Barrett dan.barrett at storigen.com
Wed May 1 13:02:02 GMT 2002


When trying to copy files from a Win2k machine with Novell client installed to a Linux based Samba 2.2.3a server, some files copy while others fail with an "access denied" error.

The failed copies get the following error in the logfile:

[2002/04/30 12:57:40, 3] smbd/error.c:error_packet(99)  error string = Operation not permitted

[2002/04/30 12:57:40, 3] smbd/error.c:error_packet(111)  error packet at smbd/nttrans.c(1405) cmd=160 (SMBnttrans) eclass=1 ecode=12

A little mucking about in nttrans.c shows that the set_sd() function is failing because sd_len==0, and call_nt_transact_create() denies access because the security descriptor couldn't be set.

Any ideas about what's going on between Novell client and Samba here?  The set_sd() code did not exist back in Samba 2.0.X and these versions will copy the file without a problem.

Is the Novell client mis-packaging the SMB request, or is it valid to have a 0 length security descriptor?

Dan Barrett
Storigen Systems
daXn.baXrrett at storigXen.com
<Remove X's from email address>




More information about the samba-technical mailing list