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

monitor problem

Hello List,

I have a problem with the "database monitor" option in slapd.conf

I'm getting the following error:

ldapsearch  -b cn=monitor
ldap_sasl_interactive_bind_s: No such attribute (16)

I've added 3 lines to my slapd.conf to add support for monitoring:

moduleload      back_monitor
database        monitor
rootdn          "cn=Monitor"

Do i need to alter/add anything else ?

I'm using openldap version 2.1.30(-3) (debian version)

If i start slapd -d64 is do get something like this in my output:

bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
module back_bdb: null module registered
line 34 (moduleload back_monitor)
loaded module back_monitor
module back_monitor: null module registered
line 35 (loglevel 0)
line 41 (database monitor)
line 42 (rootdn         "cn=Monitor")
line 44 (database bdb)
bdb_db_init: Initializing BDB database

My complete slapd.conf is:

include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
#include                /etc/openldap/schema/nis.schema
#include                /etc/openldap/schema/qmailUser.schema
include         /etc/openldap/schema/visp.schema
include         /usr/local/etc/openldap/schema/pureftpd.schema
include         /usr/local/etc/openldap/schema/amavis.schema
schemacheck off
allow bind_v2

pidfile         /var/run/slapd.pid
argsfile        /var/run/slapd.args

# Load dynamic backend modules:
modulepath      /usr/lib/ldap/
#moduleload     back_ldap.la
moduleload      back_ldbm
#moduleload     back_passwd.la
# moduleload    back_shell.la
moduleload      back_bdb
moduleload      back_monitor
loglevel        0

database        monitor
rootdn          "cn=Monitor"

database        bdb
suffix          "dc=hosting,dc=xxxxxx"
rootdn          "cn=Manager,dc=hosting,dc=xxxxxx"
rootpw          secret
directory       /var/openldap-data.bdb
updatedn        "cn=Manager,dc=hosting,dc=xxxxxx"
index           accountactive pres
index           objectClass pres,eq
index           mail,uid  eq,sub
index           postfixTransport,radius,vvd,vt eq
checkpoint      1024    15

access to *
        by self write
	by dn="cn=manager,dc=hosting,dc=xxxxxx" write
	by * write

access to *
        by * read

Thanks in advance for any suggestions

Met vriendelijke groeten/kind regards,

Chris Holleman

Version: GnuPG v1.2.4 (GNU/Linux)