summaryrefslogtreecommitdiff
path: root/source3/registry/reg_backend_hkpt_params.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-07-28 05:15:40 -0700
committerRusty Russell <rusty@rustcorp.com.au>2010-07-29 08:56:35 +0930
commitbc1c82ea137e1bf6cb55139a666c56ebb2226b23 (patch)
tree3ad9b5c8b2b69302ef01cd2d80d4acf325563f6e /source3/registry/reg_backend_hkpt_params.c
parent39d287ec67d9c33b17c8809ac34d3c09f72f689d (diff)
downloadsamba-bc1c82ea137e1bf6cb55139a666c56ebb2226b23.tar.gz
samba-bc1c82ea137e1bf6cb55139a666c56ebb2226b23.tar.bz2
samba-bc1c82ea137e1bf6cb55139a666c56ebb2226b23.zip
Fix tdb_check() to work with read-only tdb databases. The function tdb_lockall() uses F_WRLCK internally, which doesn't work on a fd opened with O_RDONLY. Use tdb_lockall_read() instead.
Jeremy.
Diffstat (limited to 'source3/registry/reg_backend_hkpt_params.c')
0 files changed, 0 insertions, 0 deletions