[Samba] User's groups issue

Gerald (Jerry) Carter jerry at samba.org
Tue Aug 26 18:35:28 GMT 2008


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

Ephi Dror wrote:
> Hello Jerry,
> 
> Thank you for your quick reply.
> 
> Actually, for us, the user does not login but we 
> need to know all the groups that a given user
> belongs to so we use "id username"
> 
> So my question is, if the user doesn't login 
> again, how long we cache what we already know and
> how do I change this cache length if needed.

The netsamlog_cache does not expire.  It is refreshed at
the next login.  Otherwise it will store no information.

The winbindd_cache entries do expire however (based on the
TTL defined by the "winbind cache time" option).




cheerss, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFItEzwIR7qMdg1EfYRAj/kAJ43uGzBNbh7rMOvq3Lbi+QFLTWIkACeJyet
OQK8R/p9UWCoM6Ty9gwk0sI=
=pj2d
-----END PGP SIGNATURE-----


More information about the samba mailing list