[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8737) LMDB allows creation of multiple databases in same directory



aleksey.kamensky@gmail.com wrote:
> Full_Name: Alexey Kamenskiy
> Version: 2.4.45
> OS: CentOS Linux release 7.3.1611 (Core)
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (220.248.35.50)
> 
> 
> Setting up fresh 2.4.45 with MDB noticed that MDB does allow to create multiple
> databases in the same directory (noticed by mistake of creating multiple MDBs in
> default /var/lib/ldap).
> 
> It shows no error and no any warning. After this ALL of the databases are
> writeable and readable. On reading the results returned for all 3 databases (and
> not for the DIT specified in ldapsearch -b).

None of the other backends protect from this either. (Nor can they, since any 
individual backend doesn't know anything about any other backend's 
configuration.) Not a bug.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/