[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
cn=Monitor Ok, but no data (/values) ?
Hi all !
Does anyone know how the following could happen ? (of even better,
how to fix it .. eh eh). The cn=Monitor tree is there, but it
contains no data? I have had this version (2.2.17) working with
support before, but now it doesn't seem to work anymore. Yes, I
probably made 'some' modifications to the slapd.conf ;)
---
[root@mail3 /usr/local/etc/openldap]# ldapsearch -b
"cn=Statistics,cn=Monitor" '*' -x
# extended LDIF
#
# LDAPv3
# base <cn=Statistics,cn=Monitor> with scope sub
# filter: (objectclass=*)
# requesting: *
#
# Statistics, Monitor
dn: cn=Statistics,cn=Monitor
objectClass: monitorContainer
cn: Statistics
# Bytes, Statistics, Monitor
dn: cn=Bytes,cn=Statistics,cn=Monitor
objectClass: monitorCounterObject
cn: Bytes
# PDU, Statistics, Monitor
dn: cn=PDU,cn=Statistics,cn=Monitor
objectClass: monitorCounterObject
cn: PDU
# Referrals, Statistics, Monitor
dn: cn=Referrals,cn=Statistics,cn=Monitor
objectClass: monitorCounterObject
cn: Referrals
# Entries, Statistics, Monitor
dn: cn=Entries,cn=Statistics,cn=Monitor
objectClass: monitorCounterObject
cn: Entries
# search result
search: 2
result: 0 Success
---
slapd.conf part:
---
# /* Specific options for bdb .. for now: none :) */
backend bdb
# /* Specific options for monitor .. for now: none :) */
backend monitor
#######################################################################
# ldbm and/or bdb database definitions
#######################################################################
# Database cn=Monitor
database monitor
## The admin dn can ask for statistics
access to dn.subtree="cn=Monitor"
by dn.exact="cn=admin,o=domain,c=tld" write
by dn.subtree="o=domain,c=tld" read
by users read
by * read
# by * none
---
The "by * read" is on purpose for testing only .....
bye,
Chris