SMB trans2 set posix acl failure to very current Samba 3

Jeremy Allison jra at samba.org
Tue Nov 30 06:03:09 GMT 2004


On Mon, Nov 29, 2004 at 11:11:04PM -0600, Steve French wrote:
> Getting a failure (probably Samba getting invalid argument in call to 
> acl_clear_perms) setting posix acls to current Samba 3 from svn on very 
> current Linux cifs client test code (from bk tree).  Operation:
> 
>    setfacl -m u:ftp:r /mnt/tmp/patch-2.6.10-rc2
> 
> as owner of file.  Seems to fail on every file I try.  smbd level 10 log 
> follows:
> 
> [2004/11/29 22:57:20, 3] smbd/trans2.c:call_trans2setfilepathinfo(3302)
>  call_trans2setfilepathinfo(6) tmp/patch-2.6.10-rc2 (fnum -1) 
> info_level=516 totdata=56
> [2004/11/29 22:57:20, 8] smbd/dosmode.c:dos_mode(283)
>  dos_mode: tmp/patch-2.6.10-rc2
> [2004/11/29 22:57:20, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
>  dos_mode_from_sbuf returning
> [2004/11/29 22:57:20, 8] smbd/dosmode.c:dos_mode(315)
>  dos_mode returning
> [2004/11/29 22:57:20, 1] smbd/posix_acls.c:unix_ex_wire_to_permset(3404)
>  unix_ex_wire_to_permset  errno 22 Invalid argument on 
> VFS_SYS_ACL_CLEAR_PERMS
> [2004/11/29 22:57:20, 0] smbd/posix_acls.c:create_posix_acl_from_wire(3499)
>  create_posix_acl_from_wire: invalid permset 6 on entry 0.
> [2004/11/29 22:57:20, 3] smbd/error.c:error_packet(105)
>  error string = Invalid argument
> [2004/11/29 22:57:20, 3] smbd/error.c:error_packet(129)
>  error packet at smbd/trans2.c(3853) cmd=50 (SMBtrans2) 
> NT_STATUS_INVALID_HANDLE
> 
> The error mapping is probably wrong on the server side, but any idea how 
> to proceed.

Sorry Steve, I haven't tested this code yet from an smbclient
change so it probably doesn't work. There's not much you can
do until I get my test code in smbclient finished and fix the
(not so) obvious bugs.

Thanks for testing it ! I'll try and get this tested myself
sometime this week.

Jeremy.


More information about the samba-technical mailing list