[Samba] User's groups issue
Ephi.Dror at datadomain.com
Tue Aug 26 17:27:28 GMT 2008
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.
Thanks so much,
From: Gerald (Jerry) Carter [mailto:jerry at samba.org]
Sent: Tuesday, August 26, 2008 10:16 AM
To: Ephi Dror
Cc: samba at lists.samba.org
Subject: Re: [Samba] User's groups issue
-----BEGIN PGP SIGNED MESSAGE-----
Ephi Dror wrote:
> I'm using samba 3.0.31 and seems to have an issue
> with getting user's groups info.
> It works like a Swiss Watch when I start winbindd and
> do "id username" for a given user however, if I add that
> user to one more group on the domain and issue
> "id username" I don't get the up to date info.
User group information is cached at login. Login the
user in again and you should see the new groups.
The specific cache file is netsamlogon_cache.tdb
(login token) and winbindd_cache.tdb (general L1 caching
Samba ------- http://www.samba.org
Likewise Software --------- http://www.likewisesoftware.com
"What man is a man who does not make the world better?" --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba