[Samba] Intermittent permission denied when accessing share

Lorenzo Milesi maxxer at yetopen.it
Mon May 18 20:12:04 UTC 2020

> Not sure, but that is the way it looks, just a thought, are you using
> sssd ?

no, not even installed

> Just like a normal share, '[homes]' is a special share that doesn't use
> 'path. There used to be something on the wiki about using '[home]' on a
> DC, I didn't know it had gone until you mentioned it ;-)

So if I use [home] it would be a normal share, to limit access to single user's "home" I have to follow this [1].

> How did you create the domain ?

Following the guide [2]
samba-tool domain provision --server-role=dc --use-rfc2307 --dns-backend=BIND9_DLZ --realm=WDC.MYDOMAIN.IT --domain=WDC --adminpass=passwor

> Oh Dear, you seem to have a kerberos server running on your Samba AD DC,
> no sorry, make that two kerberos servers.

Well, it's NOT running.
Anyway I didn't install it on purpose, if it's there it came as a dependency of something else (Ubuntu.

> That is unless your OS is Fedora and you are using the distro packages
> and you missed the 'experimental' warning.

Which warning are you referring to? This [3]?
Any hint on how to recover?

As it's becoming urgent, what could be the most probable culprit of the inaccessible shares problem?
Thanks again

[1] https://wiki.samba.org/index.php/User_Home_Folders#Using_Active_Directory_Users_and_Computers
[2] https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller#Provisioning_a_Samba_Active_Directory
[3] https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller#Introduction

Lorenzo Milesi - lorenzo.milesi at yetopen.it

YetOpen S.r.l. - https://www.yetopen.it/
Via Salerno 18 - 23900 Lecco - ITALY -
Tel +39 0341 220 205 - Fax +39 178 6070 222

Think green - Non stampare questa e-mail se non necessario / Don't print this email unless necessary

-------- D.Lgs. 196/2003 e GDPR 679/2016 --------
Tutte le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario.
Tutte le informazioni ivi contenute, compresi eventuali allegati, sono da ritenere confidenziali e riservate secondo i termini
del vigente D.Lgs. 196/2003 in materia di privacy e del Regolamento europeo 679/2016 - GDPR - e quindi ne e' proibita l'utilizzazione ulteriore non autorizzata.
Nel caso in cui questo messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo senza copiarlo, stamparlo, a non inoltrarlo a terzi e ad avvertirci non appena possibile.

Confidentiality notice: this email message including any attachment is for the sole use of the intended recipient and may contain confidential and privileged information;
pursuant to Legislative Decree 196/2003 and the European General Data Protection Regulation 679/2016 - GDPR - any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recepient please delete this message without copying, printing or forwarding it to others, and alert us as soon as possible.
Thank you.

More information about the samba mailing list