WordPress.org

Ready to get started?Download WordPress

Forums

Active Directory Integration
Authentication Failed (4 posts)

  1. grenzenlos
    Member
    Posted 1 year ago #

    <?php
        $ldap = ldap_connect("mydomian.com");
        $username="webtest@mydomian.com";
        $password="tyest123";
    
        if($bind = ldap_bind($ldap, $username,$password ))
        echo "logged in";
        else
        echo "fail";
        echo "done";
        ?>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    When I use this It doesn't fail, but when I try your plugin it always fails. already inputted every detail needed, any other way to make this work?

    I entered the domain name, port, and Base DN still no go

    http://wordpress.org/extend/plugins/active-directory-integration/

  2. grenzenlos
    Member
    Posted 1 year ago #

    It now works but this error comes up:

    Warning: ldap_search() [function.ldap-search]: Search: No such object in /home/intranet/public_html/wp-content/plugins/active-directory-integration/ad_ldap/adLDAP.php on line 1154

    Warning: ldap_get_entries(): supplied argument is not a valid ldap result resource in /home/intranet/public_html/wp-content/plugins/active-directory-integration/ad_ldap/adLDAP.php on line 1155

    Warning: Cannot modify header information - headers already sent by (output started at /home/intranet/public_html/wp-content/plugins/active-directory-integration/ad_ldap/adLDAP.php:1154) in /home/intranet/public_html/wp-includes/pluggable.php on line 680

    Warning: Cannot modify header information - headers already sent by (output started at /home/intranet/public_html/wp-content/plugins/active-directory-integration/ad_ldap/adLDAP.php:1154) in /home/intranet/public_html/wp-includes/pluggable.php on line 681

    Warning: Cannot modify header information - headers already sent by (output started at /home/intranet/public_html/wp-content/plugins/active-directory-integration/ad_ldap/adLDAP.php:1154) in /home/intranet/public_html/wp-includes/pluggable.php on line 682

    Warning: Cannot modify header information - headers already sent by (output started at /home/intranet/public_html/wp-content/plugins/active-directory-integration/ad_ldap/adLDAP.php:1154) in /home/intranet/public_html/wp-includes/pluggable.php on line 876

  3. aswinnair
    Member
    Posted 12 months ago #

    grenzenlos, can you tell what made it work? I tried everything but not working for me. Thanks a lot.

  4. grenzenlos
    Member
    Posted 12 months ago #

    Correct Base DN and removed the check in Use TLS (since our server didn't use it), and assign proper role equivalents on the Authorization,

    also using Theme My Login, just disable Ajax.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags