[Samba] PAM Offline Authentication in Ubuntu 22.04...

Rowland Penny rpenny at samba.org
Thu Jun 8 08:36:02 UTC 2023

On 07/06/2023 17:29, Marco Gaiarin via samba wrote:
> Mandi! Eduardo Moraes via samba
>    In chel di` si favelave...
>> The tests you did with "time" awakened in me the idea of looking for
>> something related to timeout related to winbind. Searching the smb.conf
>> manual I found the "winbind request timeout" parameter, whose default value
>> is 60 seconds. Wouldn't it make sense to adjust to a shorter period?
> If i set:
> 	winbind request timeout = 5

I used '10', but what's 5 seconds between friends ?

> effectively something changed; for example, i can open a gnome terminal
> whitout waiting hours, and i was able to re-enable wireless.
> Still cache does not work. After shutting down the wireless and 'id gaio'
> return 'unknown user' and if i logoff (waiting some minutes...) i cannot
> logon back in.

This I do not understand, If I logon as a domain user, 'id rowland' 
works instantly, if I turn off the network, it still works instantly. If 
I then log out (which is instantly), I can then logon again (instantly)

> I've also tried to move winbind cache out of /tmp, but nothing changed.

You do not have to move anything, have you followed this:



More information about the samba mailing list