Bug 13033 - LDB open with LDB_FLG_RDONLY can cause the database to fail to open
LDB open with LDB_FLG_RDONLY can cause the database to fail to open
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.7.0rc5
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-14 02:49 UTC by Andrew Bartlett
Modified: 2017-09-14 17:05 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bartlett 2017-09-14 02:49:19 UTC
If an LDB is opened with LDB_FLG_RDONLY tdb will refuse to grant read locks.

Additionally, if LDB is opened with LDB_FLG_RDONLY a subsequent LDB will share the same tdb, which will be opened with O_RDONLY, and so fail to accept writes.