[Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND randomly

Rowland penny
Thu, 17 Jun 2021 17:53:00 -0000

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 ?