Web lists-archives.org

[Samba] ACL/Excel file issue




Hi,

I've just upgraded an organisation from 3.0.23a to 3.0.25b on CentOS.

Everything went fine excpet they're having an issue with Excel files going RO which perhaps is related to acls.

$ ls foo.xls
-r--rwxr--+ 1 mr.bogus staff 101376 Apr  8 12:59 08-04-04 foo.xls

and getfacl gives:

# owner: mr.bogus
# group: staff
user::r--
user:mr.test:rw-
group::rw-
mask::rwx
other::r--

This is the testparm output with extraneous shares pruned out. It's the same conf as the old server.

[global]
        workgroup = REDRESSTRUST
        netbios name = REDRESS3
        interfaces = eth0, lo
        bind interfaces only = Yes
        passdb backend = ldapsam:ldap://127.10.0.1:1389
        passwd program = /usr/sbin/smbldap-passwd %u
passwd chat = *New*Password* %n\n*Re-enter*new*password* %n\n *Password*changed*
        username map = /etc/samba/users.conf
        log level = 1
        syslog = 0
        name resolve order = wins bcast hosts
        time server = Yes
        printcap name = cups
        show add printer wizard = No
        add user script = /usr/sbin/smbldap-useradd -m %u
        delete user script = /usr/sbin/smbldap-userdel "%u"
        add group script = /usr/sbin/smbldap-groupadd -p "%g"
        delete group script = /usr/sbin/smbldap-groupdel "%g"
        add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
        set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
        add machine script = /usr/sbin/smbldap-useradd -w "%u"
        logon script = login.bat
        logon drive = P:
        domain logons = Yes
        preferred master = Yes
        wins support = Yes
        ldap admin dn = uid=admin,dc=redress,dc=org
        ldap delete dn = Yes
        ldap group suffix = ou=groups
        ldap idmap suffix = ou=idmap
        ldap machine suffix = ou=computers
        ldap passwd sync = Yes
        ldap suffix = dc=redress,dc=org
        ldap ssl = no
        ldap user suffix = ou=users
        printing = cups
        print command =
        lpq command = %p
        lprm command =
        hide files = /desktop.ini/
        map archive = No
        include = /etc/samba/shares.conf

[OrgData]
        comment = "STAFF read/write, others read"
        path = /space/data1/orgdata
        valid users = root, @staff
        read only = No
        create mask = 0664
        force create mode = 0664
        directory mask = 0775
        force directory mode = 0775

Thanks,

--
Ben Tisdall
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba