• Resolved jmutsaerts

    (@jmutsaerts)


    Currently our LDAP setup is working with following parameters:
    LDAP Host: single29.single.intern
    LDAP Port: 389
    TLS: Disabled
    LDAP Search Base: CN=Users,DC=Single,DC=intern

    I would like to expand the Search Base to include some other Users who are not in the CN=Users. When I remove the part “CN=Users,” from the LDAP Search Base, I cannot login and I get the following errors:

    Warning: ldap_search(): Search: Operations error in /var/www/html/wordpress/wp-content/plugins/authorizer/authorizer.php on line 1363
    
    Warning: ldap_get_entries() expects parameter 2 to be resource, boolean given in /var/www/html/wordpress/wp-content/plugins/authorizer/authorizer.php on line 1365

    How can I fix this? Also, will it be possible soon to add multiple search bases? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul Ryan

    (@figureone)

    If you’re not specifying a directory user (bind user), it will perform an anonymous bind; my guess is your LDAP server doesn’t allow searching the entire LDAP tree anonymously, so when you set your search base to only DC=Single,DC=intern, it fails. I’d suggest configuring a directory user that has permissions to search the root.

    Re: multiple search base feature, I’ve created an issue to track that feature, so hopefully it will get integrated in the near future!
    https://github.com/uhm-coe/authorizer/issues/39

    Plugin Author Paul Ryan

    (@figureone)

    Multiple LDAP search bases will be supported in the upcoming release, 2.7.2.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error when removing CN’ is closed to new replies.