On 17/06/2021 17:48, Bastian Sebode via samba wrote:> Hello Samba list, > > we have a weird problem that occurs randomly when accessing file in a > subfolder. > > Load smb config files from /etc/samba/smb.conf > Loaded services file OK. > 'winbind separator = +' might cause problems with group membership. > > Server role: ROLE_DOMAIN_MEMBER > > Press enter to see a dump of your service definitions > > # Global parameters > [global] > ??????? log file = /var/log/samba/log.%m > ??????? logging = file > ??????? map to guest = Bad User > ??????? max log size = 102400 > ??????? netbios aliases = 05px > ??????? obey pam restrictions = Yes > ??????? pam password change = Yes > ??????? panic action = /usr/share/samba/panic-action %d > ??????? passwd chat = *Enter\snew\s*\spassword:* %n\n > *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . > ??????? passwd program = /usr/bin/passwd %u > ??????? preferred master = No > ??????? realm = CUSTOMER.LOCAL > ??????? server min protocol = NT1 > ??????? server role = member server > ??????? server string = %h server (Samba, Ubuntu) > ??????? unix password sync = Yes > ??????? usershare allow guests = Yes > ??????? winbind enum groups = Yes > ??????? winbind enum users = Yes > ??????? winbind refresh tickets = Yes > ??????? winbind separator = + > ??????? workgroup = CUSTOMER > ??????? idmap config * : range = 10000-40000 > ??????? idmap config * : backend = tdb > ??????? acl allow execute always = Yes > > [daten] > ??????? comment = Daten > ??????? path = /home > ??????? read only = No > > [testme] > ??????? comment = Test-Share > ??????? path = /share/testme > ??????? read only = No > > Any hints on this are welcome! Thanks in advance for every help. >Your 'idmap config' lines are incorrect, or are you using sssd ? What version of Ubuntu are you using ?
Hey Rowland, thanks for your reply. On 17/06/2021 18:53, Rowland Penny via samba wrote: > Your 'idmap config' lines are incorrect, or are you using sssd ? > No I'm using winbind. I also tried 'watch -d -n 0.1 wbinfo -u' while testing, but the users could be resolved at all time, even when opening the file didn't work. What would be the correct 'idmap config'? Just rechecked /etc/nsswitch.conf and this seemed not correct. I added winbind to shadow as well now, but without any improvement. Or should I remove systemd from nsswitch.conf? --- passwd:???????? files systemd winbind group:????????? files systemd winbind shadow:???????? files gshadow:??????? files --- > What version of Ubuntu are you using ? > 20.04, also updated right now from 2:4.11.6+dfsg-0ubuntu1.8 to 2:4.11.6+dfsg-0ubuntu1.9, but as expected no change. Regards Bastian -- Bastian Sebode Fachinformatiker Systemintegration LINET Services GmbH | Cyriaksring 10a | 38118 Braunschweig Tel. 0531-180508-0 | Fax 0531-180508-29 | http://www.linet-services.de LINET in den sozialen Netzwerken: www.twitter.com/linetservices | www.facebook.com/linetservices Wissenswertes aus der IT-Welt: www.linet-services.de/blog/ Gesch?ftsf?hrung: Timo Springmann, Mirko Savic und Moritz Bunkus HR B 9170 Amtsgericht Braunschweig USt-IdNr. DE 259 526 516