Community Forum

Resolved
0 votes
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.
Sunday, August 06 2017, 10:54 AM
Share this post:
Responses (1)
  • Accepted Answer

    Friday, September 01 2017, 02:30 PM - #Permalink
    Resolved
    0 votes
    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
    The reply is currently minimized Show
Your Reply