[Samba] Samba 3.0.23c, ACL and Debian Sarge
Guillaume Riviere
guillaume.riviere at vslitc.com
Fri Oct 13 02:06:28 GMT 2006
schönfeld / in-medias-res wrote:
> Hi there,
>
> Guillaume Riviere schrieb:
>> Dear All,
>>
>> I search for the packages of samba for GNU/Debian sarge
>> with acl compiled inside.
>
> the default sarge packages aswell as the enterprise samba packages
> *do* have acl support compiled into. I currently have a setup with
> ACLs running here. :-)
>
That's great news for me, I prefer a mistake of my configuration than a
recompilation of samba.
>> In fact I did try the 2 links provided by the web site but it still
>> doesn't work ACL and Samba 2.0.23c
>> (samba.org and entreprisesamba.org). This is an upgrade from the
>> 3.0.14a, with this version the ACL
>> support was ok. No it doesn't work anymore (Samba only see the basic
>> rigths).
>
> Did you check that your mounts are acl-enabled? E.g. what das mount say?
> How is your samba configured? Does it work under debian as expected?
Well my disk are mounted with ACL because the getfacl/setfact work fine
and the ACL rigths on those folders are ok if i try a direct access
with shell, but, with samba, no way.
My samba does not have a special configuration for ACL, do I have to add
something (with 3.0.14a it was ok like this)?:
#:> uname -a
Linux mysarver 2.6.17.13 #1 Mon Sep 18 12:58:22 ICT 2006 i686 GNU/Linux
#:> more /etc/mtab
vslfs:~# more /etc/mtab
/dev/hda1 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda2 /mnt/disk3 ext3 rw,acl 0 0
/dev/sdb1 /mnt/disk1 ext3 rw,acl 0 0
/dev/sda1 /mnt/disk2 ext3 rw,acl 0 0
#:> ls -l /mnt/disk1/
vslfs:~# ls -l /mnt/disk1/myshare/
total 68K
drwxr-x---+ 9 root root4.0K 2006-10-02 22:55 .
drwxr-xr-x 8 root root 4.0K 2006-10-07 19:40 ..
drwxrwx---+ 7 root root 4.0K 2006-09-18 19:17 ABC
drwxrwx---+ 7 root root 4.0K 2006-09-18 19:17 DEF
drwxrwx---+ 4 root root 4.0K 2006-09-18 19:17 GHI
drwxrwx---+ 7 root root 4.0K 2006-10-03 01:41 JKL
drwxrwx---+ 4 root root 4.0K 2006-09-18 19:18 MNO
drwxrwx---+ 7 root root 4.0K 2006-10-06 18:00 PQR
drwxrwx---+ 12 root root 4.0K 2006-10-02 23:07 STU
#:> more /etc/samba/smb.conf
# Global parameters
[global]
workgroup = MYDOMAIN
server string = File server for MYCOMPANY
netbios name = MYSERVER
security = DOMAIN
show add printer wizard = No
idmap uid = 15000-20000
idmap gid = 15000-20000
winbind separator = +
winbind use default domain = Yes
use sendfile = Yes
enhanced browsing = No
client schannel = no
[myshare]
comment = This folder is the shared folder
path = /mnt/disk1/myshare
valid users = @MYDOMAIN+thegroup
writable = yes
nt acl support = yes
hide unreadable = no
force user = %U
force group = thegroup
read only = No
create mask = 0700
force create mode = 0700
directory mask = 0700
force directory mode = 0700
>
> Greets
> Patrick
>
>
--
More information about the samba
mailing list