diff options
author | Christian Ambach <christian.ambach@de.ibm.com> | 2010-11-04 17:10:25 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-11-08 13:39:51 +0100 |
commit | 57b3d32c8d87c4273d30d73fe2bfd3de0178945d (patch) | |
tree | ae2c2e897361512f57d0ab1ca5a1a1c51b61304a /source3/utils/pdbedit.c | |
parent | 58cfa5a82519e2850cb400bb9f1e76d3dbfd3ff2 (diff) | |
download | samba-57b3d32c8d87c4273d30d73fe2bfd3de0178945d.tar.gz samba-57b3d32c8d87c4273d30d73fe2bfd3de0178945d.tar.bz2 samba-57b3d32c8d87c4273d30d73fe2bfd3de0178945d.zip |
s3:winbind add timeouts to winbind cache
This adds a timeout value to cache entries and the NDR records
in the winbind cache.
The previous approach of just comparing the sequence number has some issues,
e.g. when retrying a wbinfo -n operation for a user in a not yet trusted
domain was always failing even after the trusted domain was added.
The new approach compares sequence number and timeout value to
determine if a cache entry is still valid or not.
I increased the cache version number so an old cache will be wiped
automatically after upgrade.
Diffstat (limited to 'source3/utils/pdbedit.c')
0 files changed, 0 insertions, 0 deletions