Bug 6900 - Winbind should pre-cache user's groups when winbind offline logon = true
Winbind should pre-cache user's groups when winbind offline logon = true
Status: ASSIGNED
Product: Samba 3.6
Classification: Unclassified
Component: Winbind
unspecified
x86 Linux
: P3 enhancement
: ---
Assigned To: Michael Adam
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-17 19:36 UTC by Nick (550-5.1.1 The email account that you tried to reach does not exist)
Modified: 2010-03-08 04:51 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick (550-5.1.1 The email account that you tried to reach does not exist) 2009-11-17 19:36:46 UTC
When winbind offline logon = true and a user logs in and then disconnects from the network, the user is unable to use any of the groups they are a member of since they aren't yet cached.  Running 'groups' results in lots of errors that the group ids couldn't be resolved.

If winbind offline logon = true is set, when a user logs in each group (primary and supplementary) should be looked up so that it gets added to the cache (making sure that both forward and reverse lookups work).
Comment 1 Michael Adam 2009-11-19 07:01:28 UTC
Thanks for this bug report.
Right, it might add value to the offline mode when winbindd
would proactively fetch and cache certain data like resolutions
of the user's groups. Possibly doing so _only_ when "winbind offline
logons = yes", since it will also slow down the processes that don't
need this information.

I'll have to think about what to fetch when best....
Comment 2 Karolin Seeger 2010-03-08 04:51:43 UTC
Raising component.