[Samba] Samba 3.0.23c, ACL and Debian Sarge

Guillaume Riviere guillaume.riviere at vslitc.com
Sat Oct 14 01:54:58 GMT 2006


I try to solve this strange problem,

I got nothing in the logs,  Do you know a way to
trace ACL and rights problems in Samba log ?

Regards,
Guillaume

Guillaume Riviere wrote:
> 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
>>
>>
>
>


-- 

 
*   Guillaume RIVIERE*
   IT Projects Manager 	*www.vsl.com* <http://www.vsl.com>   
  	Phone: +84 8 8 10 68 17
Mobile: +84 90 95 38 9 00
Fax:     +84 8 8 10 68 18
Email: guillaume.riviere at vslitc.com <Mailto:guillaume.riviere at vslitc.com> 	


	*VSL IT Center*
R-212, E-town building, 364 Cong Hoa Street, Ward 13, Tan Binh District
  Hochiminh City - Vietnam 	 
 
  	 

	
--------------------
Any data and information contained in this electronic mail are personal, 
confidential and secret. Any total or partial publication, use or 
distribution must be authorized.
If you are not the good addressee, we ask you not to read, copy, use or 
disclose this communication. Please notify this error to the sender and 
erase at once this communication from your system.
All views or opinions expressed in this electronic message are those of 
the sender and do not necessarily reflect the views of VSL International 
Ltd or its subsidiaries.
--------------------
 



More information about the samba mailing list