[Samba] winbind offline logon cache timeout

Andreas Schneider asn at samba.org
Tue Mar 26 18:13:43 UTC 2019

On Tuesday, March 26, 2019 1:36:03 PM CET David Huemer via samba wrote:
> Samba 4.7.6-ubuntu
> Using Ubuntu 18.04.1 LTS logging in, in AD Domain
> Hi, would like to know where or how i can define the TTL for the cached
> winbind offline logon.
> Actually it´s around a day, afterwards i can´t login in my AD-User when
> i´m still offline but would like to extend the time.

The cached credential storage for offline login is called netsamlogon cache 
and it never expires. If a connection to the DC can be established, it will be 

To see what's in the cache you can use:

    net cache samlogon list

in the command line.


Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

More information about the samba mailing list