s3: Open winbindd_cache.tdb with read/write access.
authorBo Yang <boyang@samba.org>
Sun, 21 Mar 2010 08:00:26 +0000 (16:00 +0800)
committerBo Yang <boyang@samba.org>
Sun, 21 Mar 2010 08:00:26 +0000 (16:00 +0800)
commit6e48267c28b05c3837a3e5ffc1f5b58316cc286f
tree741832999a839dae2eaee36aeb5e766d0b0e0c56
parent09f270e748263f2fb02683a9376ae185a5534178
s3: Open winbindd_cache.tdb with read/write access.

Open winbindd_cache.tdb with read/write access when validate the cache,
otherwise, validation fails to get lock in tdb_check. It results in
validation failure even the cache is good.

Signed-off-by: Bo Yang <boyang@samba.org>
source3/lib/tdb_validate.c