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
child daemon request 19
process_request: request fn LIST_TRUSTDOM