Linux - How to control Winbind Authentication cache timeout

Posted by cybervedaa on Server Fault See other posts from Server Fault or by cybervedaa
Published on 2014-05-28T00:13:32Z Indexed on 2014/05/28 3:32 UTC
Read the original article Hit count: 464

Filed under:
|
|
|

I have configured my linux machines (running CentOS 5.2) to authenticate against a Windows server running Active Directory. I have even enabled winbind offline logon. Everything works as expected, however I'm also looking to impose a TTL for the winbind authentication cache. So far all I found was the below snippet from the samba documentation

winbind cache time (G)

This parameter specifies the number of seconds the winbindd(8) daemon will cache user and group information before querying a Windows NT server again.

**This does not apply to authentication requests**, these are always evaluated in real time unless the winbind offline logon option has been enabled.

Default: winbind cache time = 300

Clearly the winbind cache time parameter does not control the cache TTL for authentication requests. Is there any other way I can implement a cache timeout for winbind authentication requests?

Thank you

© Server Fault or respective owner

Related posts about linux

Related posts about active-directory