Hi all,
I can't connect succesfully cacti to LDAP i've got a this error : "LDAP Search Error: More than one matching user found"
I cant reproduce using ldapsearch, where I get only one result.
I would like to activate logs on openladp but what I've found on internet about "cn=config" doesn't woks on COS 7.3
I did not find any suitable information on the apps documentation (either for external connextion to ldap that failed also).
I found that openldap use rsyslog activity : local4 or local6 depending the turorial found and I would like to check this also.
Any help will be appreciate.
Thanks in advance.
Taryck.
I can't connect succesfully cacti to LDAP i've got a this error : "LDAP Search Error: More than one matching user found"
I cant reproduce using ldapsearch, where I get only one result.
I would like to activate logs on openladp but what I've found on internet about "cn=config" doesn't woks on COS 7.3
I did not find any suitable information on the apps documentation (either for external connextion to ldap that failed also).
I found that openldap use rsyslog activity : local4 or local6 depending the turorial found and I would like to check this also.
Any help will be appreciate.
Thanks in advance.
Taryck.
References:
- https://sfj48-fkj200.heiksthsd.cf/resources/documentation/clearos/content:en_us:kb_o_accessing_ldap_data
- http://www.openldap.org/lists/openldap-technical/201101/msg00048.html
- https://www.openldap.org/lists/openldap-technical/201605/msg00043.html
- http://tutoriels.meddeb.net/openldap-log/
- https://www.vincentliefooghe.net/content/openldap-gestion-des-logs
Share this post:
Responses (1)
-
Accepted Answer
1) Add
loglevel4.* /var/log/path_to_slapd_log_file
to /etc/rsyslog.conf
2) Find "loglevel" in /etc/openldap/slapd.conf and change it from "0" to desired level (-1 all). If necessary change "sizelimit"
3) Restart services:
systemctl restart rsyslog
systemctl restart slapd
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »