Hello all,
I'm trying to set up monitoring via slapd.conf according to this guide: http://www.openldap.org/devel/admin/monitoringslapd.html However after setting it up and trying to test it I receive the following error message:
root@gilead:/opt/fedora-ds# bin/ldapsearch -x -D "cn=Directory Manager,o=xxx,o=xxx,c=br" -W -b 'cn=monitor' -s base '(objectClass=*)' '*' '+' Enter LDAP Password: # extended LDIF # # LDAPv3 # base <cn=monitor> with scope baseObject # filter: (objectClass=*) # requesting: * + #
# search result search: 2 result: 32 No such object
# numResponses: 1
This is what I've added to my slapd.conf:
database monitor access to * by dn.exact="cn=Directory Manager,o=xxx,o=xxx,c=br" by * none
I've restarted slapd after adding the entries above. Is there something else that must be done? Thanks!
Please disconsider the message, I found that the error was on the ACL I created. Instead of
database monitor access to * by dn.exact="cn=Directory Manager,o=xxx,o=xxx,c=br" by * none
I used:
database monitor access to * by dn.exact="cn=Directory Manager,o=xxx,o=xxx,c=br" read by * none
Now everything's working as expected :)
2010/1/7 Diego Lima lists@diegolima.org
Hello all,
I'm trying to set up monitoring via slapd.conf according to this guide: http://www.openldap.org/devel/admin/monitoringslapd.html However after setting it up and trying to test it I receive the following error message:
root@gilead:/opt/fedora-ds# bin/ldapsearch -x -D "cn=Directory Manager,o=xxx,o=xxx,c=br" -W -b 'cn=monitor' -s base '(objectClass=*)' '*' '+' Enter LDAP Password: # extended LDIF # # LDAPv3 # base <cn=monitor> with scope baseObject # filter: (objectClass=*) # requesting: * + #
# search result search: 2 result: 32 No such object
# numResponses: 1
This is what I've added to my slapd.conf:
database monitor access to * by dn.exact="cn=Directory Manager,o=xxx,o=xxx,c=br" by * none
I've restarted slapd after adding the entries above. Is there something else that must be done? Thanks!
-- Diego Lima
Diego Lima escreveu:
Hello all,
I'm trying to set up monitoring via slapd.conf according to this guide: http://www.openldap.org/devel/admin/monitoringslapd.html However after setting it up and trying to test it I receive the following error message:
root@gilead:/opt/fedora-ds# bin/ldapsearch -x -D "cn=Directory Manager,o=xxx,o=xxx,c=br" -W -b 'cn=monitor' -s base '(objectClass=*)' '*' '+'
Hi, In ldif file, add this line
dn: cn=Monitor,dc=xxxxxx,dc=com,dc=br objectClass: monitorServer structuralObjectClass: monitorServer cn: Monitor creatorsName: modifiersName: createTimestamp: 20061208223558Z modifyTimestamp: 20061208223558Z description: This subtree contains monitoring/managing objects. description: This object contains information about this server. description: Most of the information is held in operational attributes, monitoredInfo: OpenLDAP: slapd 2.4 entryDN: cn=Monitor subschemaSubentry: cn=Subschema hasSubordinates: TRUE
# /usr/local/etc/rc.d/slapd stop # slapadd -l ldif # /usr/local/etc/rc.d/slapd start
try again ldapsearch
openldap-technical@openldap.org