Results 1 to 4 of 4

Thread: samba4 and ACL

  1. #1
    Join Date
    Aug 2010

    samba4 and ACL

    I am running ubuntu server 10.04 32-bit. I compiled samba4 from git and everything works like a dream: Adding clients to the domain, managing users and groups, applying GPOS. The only problem is with changing ACLs of samba shares.

    Whenever I try to add an ACE to an existing ACL or try to edit an existing ACE, after pressing OK it simply dissapears. I am doing this from a windows XP pro domain computer by opening windows explorer and selecting properties>security from the context menu.

    Browsing samba forums and searching google has yielded no solution so far.

    Is anybody else experiencing similar problems?
    Does anybody have a clue why this could be?

    Thanks in advance.

    Here my smb.conf as located in /usr/local/samba/etc:

        netbios name    = SAMBA
        workgroup    = ASRIRA
        realm        = ASRIRA.LOCAL
        server role     = domain controller
        path = /shares/recepcion
        path = /usr/local/samba/var/locks/sysvol/asrira.local/scripts
        read only = no
        path = /usr/local/samba/var/locks/sysvol
        read only = no
    /shares/recepcion is owned by root:root with a+rwx

  2. #2
    Join Date
    Nov 2009

    Re: samba4 and ACL

    What filesystems are you using? If you using ext4/ext3 install the packages attr and acl with: sudo apt-get install attr acl then add acl,user_xattr to the partition on /etc/fstab. Heres what my root partition(ext4) looks like:

    UUID=b65f3bca-29b5-4a28-99dc-595c009020bb / ext4 errors=remount-ro,acl,user_xattr 0 1

    Also, if your using seperate partitions for different shares, you could try using an xfs filesystem, i use that for my shares and it works flawlessly with windows acls.
    Hope this helps.
    User@Server64-01:/# Core 2 Quad@2.66ghz; 2.5TB Storage && "8GB RAM";

  3. #3
    Join Date
    Aug 2010

    Re: samba4 and ACL

    Thanks a lot headvampyre,

    First thing tomorrow, I will try the package you named. I fact I am using ext4.
    Appearently, I got something wrong reading the documentation of samba4. I thought as samba4 doesn't use unix accounts any more (compared to its predecessors) and hence does no nt-account/unix-account mapping, i wouldn't need to use acl on my linux machine.

  4. #4
    Join Date
    Aug 2010

    Re: samba4 and ACL

    XFS did the trick.

    Thanks a lot headvampyre.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts