Bug 6310 - -n disables cache but winbindd still writes to winbindd_cache.tdb file
Summary: -n disables cache but winbindd still writes to winbindd_cache.tdb file
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: Winbind (show other bugs)
Version: 3.3.2
Hardware: x86 Linux
: P3 minor
Target Milestone: ---
Assignee: Michael Adam
QA Contact: Samba QA Contact
Depends on:
Reported: 2009-04-30 21:23 UTC by Greg
Modified: 2020-12-22 00:11 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Greg 2009-04-30 21:23:42 UTC
I'm trying to eliminate disk read/writes. Using the -n switch to disable caching doesn't eliminate the writes to /var/cache/samba/winbindd_cache.tdb.

To debug, I've used the command string winbindd -i -d10 -n -s /etc/samba/smb.conf The following output repeats and there is an associated write to winbindd_cache.tdb each time it repeats.

[ 6796]: list trusted domains
secrets_get_trusted_domains: got 0 domains
Storing response for pid 6797, len 3240
fork_domain_child: domain PICTURE-FRAME no longer in 'startup' mode.
Destroying timed event 82e24d8 "async_request_timeout"
Retrieving response for pid 6797
Added timed event "async_request_timeout": 82e24d8
timed_events_timeout: 299/999938
child daemon request 19
process_request: request fn LIST_TRUSTDOM
Comment 1 Björn Jacke 2020-12-22 00:11:27 UTC
winbindd man page says for -n option: "Disable some caching." - so writes to winbindd_cache.tdb must still be expected.