← Back to team overview

enterprise-support team mailing list archive

[Bug 1980961] [NEW] MS Office (2013 above ) Access denied at shared folder

 

Public bug reported:

Hi i have tried my best to resolve the issue but was not able to do : the problem is shared folder of samba . if a file is created by user1 ,e.g textfile , it can be edited by user2 but if ms office file is created by user1 it can not be edited by user2 , ms office says access is denied , contact your administrator.
i have found that the bug was earlier in ms office 2007 and samba 3.xx ..it was reported and bugfix was issued ...in this new version its appearing again , please issue a bug fix and also let me know how could i resolve it.


samba version : Version 4.13.17-Ubuntu
ubuntu version: Ubuntu 20.04.4 LTS
kernel: Linux 5.4.0-121-generic

samba configurations as follows:

global]
        netbios name = sambaserver
        netbios aliases = samba1,samba2
        log level = 2
        usershare allow guests = yes
        os level = 20
        log file = /var/log/samba/log.%m
        max log size = 1000
        pam password change = yes
        logging = file
        obey pam restrictions = yes
        disable netbios = no
        server role = standalone server
        map to guest = bad user
        server string = %h server (Samba, Ubuntu)
        workgroup = WORKGROUP
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        passwd program = /usr/bin/passwd %u
        encrypt passwords = yes
        passdb backend = smbpasswd
        panic action = /usr/share/samba/panic-action %d
        unix password sync = yes


[Accounts_share]
        writeable = yes
        force create mode = 2755
        valid users = @accounts_dept
        path = /home/samba/accounts_share
        create mask = 2775
        directory mask = 2775
        force directory mode = 2775
        force group = accounts_dept
        revalidate = no
        write list = @accounts_dept

where as @accounts_dept has rights with rwx as follows
drwxrws--T+  6 root                   accounts_dept 4096 Jul  7 14:26 accounts_share

i also issued following command for acl after which users were able to write in others files (except ms office files)
setfacl -R -m d:g:accounts_dpt:rwx /home/samba/accounts_share

two users user1 and user2 belongs to @accounts_dept, they are able to read write each other files but ms office files can't be modified by user2 while created by user1 and vice versa .
please note both users are also windows NT domain controller users.

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1980961

Title:
  MS Office (2013 above ) Access denied at shared folder

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1980961/+subscriptions