[Samba] winbind offline logon

Rowland penny rpenny at samba.org
Fri Jan 22 13:41:13 UTC 2021

On 22/01/2021 08:20, Piviul via samba wrote:
> Il 21/01/21 18:32, Rowland penny via samba ha scritto:
>> I was sure I had rebooted, but when I did reboot again (to be 
>> certain), the cache disappeared. There is 'retain_after_close = true' 
>> which stops the ccache being removed, but now winbind doesn't seem to 
>> want to work offline 🙁
> but who remove the cache? If I stop winbind or smbd the cache is ever 
> there... furthermore why wbinfo -K continue to save the cache in /tmp?
> :(
> Piviul
OK Piviul, I have something else for you to test 😁

Add 'lock directory = /var/cache/samba/' to smb.conf

Reboot with the cable connected

Login as a domain user

Remove the cable and reboot again

Try and login again


More information about the samba mailing list