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

Re: direct MDB access for counting entries from Python



On 1/17/20 3:13 AM, Howard Chu wrote:
> Michael Ströder wrote:
>> On 1/16/20 3:57 PM, Michael Ströder wrote:
>>> In my monitoring check I'd like to indicate how many entries are in a
>>> database.
>>> [..]
>>> Is it easily possible to access the id2e sub-DB and query number of entries?
>>
>> Ideally this should be added to cn=monitor along with olmMDBPagesMax and
>> friends.
> 
> Submit an ITS enhancement request.

https://www.openldap.org/its/index.cgi?findid=9154

Rationale: For security reasons the monitor check should not have read
access to .mdb files.

Ciao, Michael.