R: [Samba] howwinbind cache time works

Gerald (Jerry) Carter jerry at samba.org
Fri Sep 14 14:28:15 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gianluca,

> So cache time will start some kind of job and lowering it 
> too much would pose some stressing on servers and network ?

Yup.  The cache is used for things like user and group
enumeration, name2sid conversions, etc....

> what would a reasonable value for that param ?

Most of this information is static and rarely changes.
IIRC, the default in current releases is 15 minutes.
Unless you rename users/groups frequently, the default
should be fine although it can be useful at much higher
cache timeouts.

> Actually I've set it at 3600, but as users are blaming for 
> new password to be accepted too slowly...

You mean the login is slow?  I'd tail a level 10 winbindd log
during login to find the delay.

> I was planning to  lower it at 60... Would it be advisable ?

No.  Much too low IMO.





cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG6pp/IR7qMdg1EfYRAmqqAJ44Ow1WQRaUQPSMUOctJ+M2UeowOQCgwDW4
wcNt3+Yj1b8FWgTtk9jTUtc=
=ieyn
-----END PGP SIGNATURE-----


More information about the samba mailing list