[Samba] ACL/Excel file issue
ben at redcircleit.com
Tue Apr 8 17:07:50 GMT 2008
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
This is the testparm output with extraneous shares pruned out. It's the
same conf as the old server.
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
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
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
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
More information about the samba