Bug 1182 - No-cache option not available.
No-cache option not available.
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: winbind
3.0.1
All All
: P3 normal
: none
Assigned To: Samba Bugzilla Account
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-12 11:37 UTC by John Klinger
Modified: 2005-08-24 10:19 UTC (History)
0 users

See Also:


Attachments
Corrects the default value when the -n option is present. (679 bytes, patch)
2004-03-12 11:42 UTC, John Klinger
no flags Details
Prevents net_samlogon_cache.tdb from being used at logon if no-cache option set (988 bytes, patch)
2004-03-12 11:45 UTC, John Klinger
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Klinger 2004-03-12 11:37:53 UTC
The no-cache option is disabled. With or without the command-line option set,
the cache is always on.
Comment 1 John Klinger 2004-03-12 11:42:09 UTC
Created attachment 435 [details]
Corrects the default value when the -n option is present.

The no-cache option defaults to a "use cache" setting. Due to an incorrect
True/False setting in winbindd.c, using -n would turn "use cache" on, not off.
This patch changes that behavior so -n turns the cache off.
Comment 2 John Klinger 2004-03-12 11:45:09 UTC
Created attachment 436 [details]
Prevents net_samlogon_cache.tdb from being used at logon if no-cache option set

The net_samlogon_cache.tdb was used at logon, regardless of the no-cache
option. This patch adds a check before using that cache.

This and previous attachment based off of 3.0.1 release.
Comment 3 Gerald (Jerry) Carter 2004-03-16 10:14:59 UTC
Looks good.  Applying both changes now.  Thanks.
Comment 4 Gerald (Jerry) Carter 2005-08-24 10:19:24 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.