Eduardo Moraes
2023-Jun-03 15:35 UTC
[Samba] PAM Offline Authentication in Ubuntu 22.04...
Hi friends! 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? P.S.: I don't have a test environment at the moment, so I can't test it. Eduardo
Kees van Vloten
2023-Jun-03 19:58 UTC
[Samba] PAM Offline Authentication in Ubuntu 22.04...
On 03-06-2023 17:35, Eduardo Moraes via samba wrote:> Hi friends! > > 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? > > P.S.: I don't have a test environment at the moment, so I can't test it. > > EduardoThanks Eduardo, some first tests are successful, so it looks like this option does the trick :-) - Kees.
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 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. I've also tried to move winbind cache out of /tmp, but nothing changed. -- In mondo non rinuncera` a essere violento fino a quando non accettera` di studiare il proprio bisogno di violenza. (Yolande Mukagasana)