LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 09-26-2011, 05:23 AM   #1
mcollis
LQ Newbie
 
Registered: Sep 2011
Location: Wales / UK
Distribution: OpenSuse 11.x / Ubuntu
Posts: 7

Rep: Reputation: Disabled
Paperport not happy on samba shared data


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.
 
  


Reply

Tags
opensuse11, samba, windows xp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
data sharing between c++ shared object and Fortran shared object Madhubala Debian 2 08-19-2011 03:22 AM
shared data in shared libraries arvind.ayyangar Programming 7 10-23-2008 04:53 PM
Software on Linux equivalent to PaperPort on Win satimis Linux - Software 2 02-20-2006 01:20 AM
Software equivalent to PaperPort on Win satimis Linux - Software 2 12-28-2005 11:49 AM
vmware shared data. aje Linux - Software 7 06-06-2005 04:31 PM


All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration