Author Topic: Users lost access to random shared folder  (Read 451 times)

Quandit

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Users lost access to random shared folder
« on: April 08, 2021, 11:08:36 am »
Hello

In last week, some user send info they cannot open some shared folder, in log we see only info "access denied" but this is not a true the ACL are ok for this person and they shared folder. We restarted serwer or samba services, this won't helped us with this issue, after two-three days the situation back to normal <Oo>

But after next two days the problem back again xD and again users lost access to random shared folders.

I'm new with Zentyal so after reading some topics I check in /etc/samba file sahres.conf, and smb.conf they are ok

I try to find topic on forum with cain problem like I have but at now no result 1:1.

What I can check too, what specific logs to discover what happend?


Zentyal v 5.1.1 (and at this time we can't update)

/etc/samba/sahres.conf
Code: [Select]
[WM_La_Clarte]
    comment = WM_La_Clarte
    path = /home/samba/shares/WM_La_Clarte
    browseable = yes
    force create mode = 0660
    force directory mode = 0660
    guest ok = yes
    read only = no
    vfs objects = acl_xattr

    full_audit:failure = connect opendir disconnect unlink mkdir rmdir open rename


Next

Code: [Select]
/etc/samba# samba-tool group listmembers WM_La_Clarte
rrat
jroh
mkob
jpom
iwas
wcho

User rrat can't access to  WM_La_Clarte (the group have the same name like sgared folder)

But on

Code: [Select]
[wspolny]
    comment = Wspolny
    path = /home/samba/shares/wspolny
    browseable = yes
    force create mode = 0660
    force directory mode = 0660
    valid users = @"smb_wspolny", @"smb_wspolny"
    read list =
    write list = @"smb_wspolny"
    admin users = @"smb_wspolny"
    vfs objects = acl_xattr

    full_audit:failure = connect opendir disconnect unlink mkdir rmdir open rename

Code: [Select]
root@zen:/home/samba/shares# samba-tool group listmembers smb_wspolny
dsob
kpod
liczniki
dwuj
snow
ugra
epia
wwas
pbar
lryb
rsty
jser
rrat

User rrat can access


OK I fins some like this

"/source3/winbindd/winbindd.c:280(winbindd_sig_term_handler)"

The problem probably is with winbindd
« Last Edit: April 08, 2021, 03:09:21 pm by Quandit »

seidhe

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Users lost access to random shared folder
« Reply #1 on: September 09, 2021, 06:14:26 pm »
I have the same issue with Zentyal 7.0. Random users can't access using vpn connection. A couple of days ago they have access. It occurs even I set anonymous access to the share...