Hi all,
I'm using samba to host file shares authenticated by AD using an XFS file system.
All is working fine except 1 windows based application.
Unfortunately there is not much detail about the error out there so i'm guessing it's not that common.
Paperport 11 is unable to rename/split/merge PDF files.
however, as you can guess from window$ it's all fine, renaming delete etc.
The error we get is that the files are "read only".
The ACLs on the files grant the following:
rwx to root
x to domain users
rwx to ad group.
the user that uses paperport is logged on as a member of the ad group that has rwx and thus can access the share and everything works as it should do.
does anyone have any suggestions to get around this annoying problem i'm having with the paperport application not allowing us to do what is required?
I've gone through other forums including here but no success has been found to any solutions
link: Paperport and Samba - ReadList.com
I've included my smb.conf details.
Code:
# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2011/02/28 15:56:24
[global]
workgroup = <domain>
realm = <DOMAIN>.COM
server string = linuxfs01
security = ADS
map to guest = Bad User
printcap name = cups
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
domain master = no
idmap domains = ALL
idmap config ALL:backend = lwicompat_v4
idmap config ALL:default = yes
idmap config ALL:readonly = yes
idmap uid = 10000-33554431
idmap gid = 10000-33554431
template shell = /bin/bash
winbind refresh tickets = yes
cups options = rawA
nt acl support = yes
log level = 2
log file = /var/log/samba/samba-detailed1.log
debug pid = true
hosts allow = 192.168.0.0/16 192.9.200.0/24
netbios name = LINUXFS01
inherit permissions = yes
inherit acls = yes
inherit owner = yes
inherit permissions = yes
# create mode = 0770
# create mask = 0770
# directory mask = 0770
#force user = root
#force group = root
#force owner = root
template homedir = /home/%D/%U
usershare allow guests = No
include = /etc/samba/admin/users.conf
include = /etc/samba/admin/departments.conf
getwd cache = yes
acl compatibility = auto
acl check permissions = Yes
acl group control = No
acl map full control = Yes
force unknown acl user = No
nt acl support = Yes
map acl inherit = No
Code:
departments.conf
#Example Below:
#
#[Share Name] #include a $ for hidden share
# admin users = @Computers
# comment = breif share comment
# inherit acls = yes
# path = /data/headoffice/users/ #complete this based on the new folder location example /Data/headoffice/users/advance
#s/joe.bloggs
# read only = no
#
#End of Example
#
#After editing save file
#new shares will be available after 7am the following day
#for info this file replicates at 5am - Not Enabled
#APOLLO1 share services restart at 6am
#APOLLO2 share services restart at 7am - Not Enabled
#DO NOT MANUALLY RESTART SHARE SERVICES AS THIS WILL TERMINATE ALL CONNECTED SESSIONS
#
[advances$]
admin users = @Computers
comment = Departments Share
path = /data/headoffice/departments/advances
read only = no
writeable = yes
I'm also including an extract from my log file showing the error:
Code:
[2011/09/23 11:45:57.720763, 2, pid=18564] smbd/dosmode.c:98(unix_mode)
unix_mode(Ema/8001648220 Matthews & Li/MaxDesk.ini) inheriting from Ema/8001648220 Matthews & Li
[2011/09/23 11:45:57.720800, 2, pid=18564] smbd/dosmode.c:121(unix_mode)
unix_mode(Ema/8001648220 Matthews & Li/MaxDesk.ini) inherit mode 40770
[2011/09/23 11:45:57.722042, 2, pid=18564] smbd/dosmode.c:98(unix_mode)
unix_mode(Ema/8001648220 Matthews & Li/MaxDesk.ini) inheriting from Ema/8001648220 Matthews & Li
[2011/09/23 11:45:57.722062, 2, pid=18564] smbd/dosmode.c:121(unix_mode)
unix_mode(Ema/8001648220 Matthews & Li/MaxDesk.ini) inherit mode 40770
[2011/09/23 11:45:57.786418, 2, pid=18564] smbd/dosmode.c:98(unix_mode)
unix_mode(Ema/8001646305 Rees) inheriting from Ema
[2011/09/23 11:45:57.786478, 2, pid=18564] smbd/dosmode.c:121(unix_mode)
unix_mode(Ema/8001646305 Rees) inherit mode 40770
[2011/09/23 11:45:57.787277, 2, pid=18564] smbd/trans2.c:5531(smb_set_file_dosmode)
smb_set_file_dosmode: file_set_dosmode of Ema/8001646305 Rees failed (Operation not permitted)
[2011/09/23 11:45:57.793871, 2, pid=18564] smbd/dosmode.c:98(unix_mode)
unix_mode(Ema/8001646305 Rees) inheriting from Ema
[2011/09/23 11:45:57.793909, 2, pid=18564] smbd/dosmode.c:121(unix_mode)
unix_mode(Ema/8001646305 Rees) inherit mode 40770
[2011/09/23 11:45:57.794705, 2, pid=18564] smbd/trans2.c:5531(smb_set_file_dosmode)
smb_set_file_dosmode: file_set_dosmode of Ema/8001646305 Rees failed (Operation not permitted)
[2011/09/23 11:45:57.874728, 2, pid=18564] smbd/dosmode.c:98(unix_mode)
unix_mode(Ema/8001646305 Rees) inheriting from Ema
[2011/09/23 11:45:57.874774, 2, pid=18564] smbd/dosmode.c:121(unix_mode)
unix_mode(Ema/8001646305 Rees) inherit mode 40770
[2011/09/23 11:45:57.875559, 2, pid=18564] smbd/trans2.c:5531(smb_set_file_dosmode)
I've tried updating samba to the latest copy aviable form the OpenSuse repo however this has been less than helpful, even including some sharemode libraries have not helped.
Hopefully someone here can spot an error in the config and say exactly what needs changing to make it work fully as i've seen reports that paperport will indeed work happily using samba shares etc.
FYI,
we have the samba share mapped to a drive on windows using an account that has RWX access to the files, owner is set to root for everything but we otherwise get no problems with anyother applications.