[Samba] ACL with Ext3 or XFS

suigres at t-online.de suigres at t-online.de
Wed Jul 31 02:51:02 GMT 2002


Hallo,

I have to shares:

fstab.conf:
	/dev/sdb1	/mnt/xfs	xfs 	defaults			0	1
	/dev/sdb2	/mnt/ext3	ext3 	defaults			0	1

smb.conf:

[global]
	create mask = 0777
	force create mode = 00
	security mask = 0777
	force security mode = 00
	directory mask = 0777
	force directory mode = 00
	directory security mask = 0777
	force directory security mode = 00
	
	inherit permissions = No
	inherit acls = No

[xfs]
	path = /mnt/xfs/share
	read only = No
	nt acl support = Yes

[ext3]
	path = /mnt/ext3/share
	read only = No
	nt acl support = Yes

When I try to add a user to directory trough 'Windows 2000 Security
Settings Dialog Box ' on any of shares below, I get 'Access Denied'

ext3 - share:
log file:

[2002/07/31 10:37:54, 3]
smbd/posix_acls.c:convert_canon_ace_to_posix_perms(1810)
  convert_canon_ace_to_posix_perms: Too many ACE entries for file Neuer
Ordner to convert to posix perms.
[2002/07/31 10:37:54, 3] smbd/posix_acls.c:set_nt_acl(2243)
  set_nt_acl: failed to convert file acl to posix permissions for file
Neuer Ordner.
[2002/07/31 10:37:54, 3] smbd/error.c:error_packet(91)
  error string = Function not implemented
[2002/07/31 10:37:54, 3] smbd/error.c:error_packet(110)
  error packet at smbd/nttrans.c(1714) cmd=160 (SMBnttrans)
NT_STATUS_ACCESS_DENIED

xfs - share:
log file:
[2002/07/31 11:30:35, 3]
smbd/posix_acls.c:convert_canon_ace_to_posix_perms(1810)
  convert_canon_ace_to_posix_perms: Too many ACE entries for file
directory to convert to posix perms.
[2002/07/31 11:30:35, 3] smbd/posix_acls.c:set_nt_acl(2243)
  set_nt_acl: failed to convert file acl to posix permissions for file
directory.
[2002/07/31 11:30:35, 3] smbd/error.c:error_packet(91)
  error string = Function not implemented
[2002/07/31 11:30:35, 3] smbd/error.c:error_packet(110)
  error packet at smbd/nttrans.c(1714) cmd=160 (SMBnttrans)
NT_STATUS_ACCESS_DENIED

Software used:

	kernel 2.4.18

	samba-2.2.5

	acl-dev_2.0.11
	acl_2.0.11-1
	libacl1_2.0.11-1

	attr-dev_2.0.8-1
	attr_2.0.8-1
	libattr-2.0.8-1

	xfs-2.4.18-all-i386 - patch

	linux-2.2.20ea-0.8.26.diff.gz 
	linux-2.2.20acl-0.8.27.diff.gz

	e2fsprogs-1.27ea-26.4.i386.rpm - converted with alien to deb package
	fileutils-4.1.8acl-65.5.i386.rpm - converted with alien to deb
package

	xfsprogs_2.0.6-2

For tests I used two different kernels. One with ext3 + acl patch and
other with xfs.

Are there any configuration mistakes made by me?

Is the samba acl support only the mapping of options from 'Secirity
Settings Dialog Box' to standart unix-permission settings?

in hope to get help, suigres at t-online.de




More information about the samba mailing list