WordPress.org

Ready to get started?Download WordPress

Forums

Active Directory Integration
Unable to login (3 posts)

  1. senseiwa
    Member
    Posted 1 year ago #

    Hi. I am new to AD (I'm a unix guy), so here it goes.

    I need to make WP accept active directory credentials, and I've asked the department to give me the information.

    So now I have the Domain Controller IP, the base DN, and they gave me a username/password to read from AD.

    From the command line it works:

    ldapsearch -LLL -H ldap://111.11.111.11:389 -b 'ou=users,o=personal' -D 'cn=read_user,ou=occasional,ou=users,o=personal' -w 'thepassword'

    But if I try the Active Directory Integration plugin, it doesn't work.

    This is my log:

    AD Integration Logon Test
    
    openLDAP installed
    
    [INFO]   method authenticate() called
    [INFO]   ------------------------------------------
             PHP version: 5.3.3
             WP  version: 3.4.2
             ADI version: 1.1.3
             OS Info    : Linux 2.6.32-220.23.1.el6.i686 #1 SMP Mon Jun 18 09:58:35 CDT 2012 i686
             Web Server : apache2handler
             adLDAP ver.: 3.3.2 Extended (201104081456)
             ------------------------------------------
    [NOTICE] username: theuser
    [NOTICE] password: **not shown**
    [INFO]   Options for adLDAP connection:
             - account_suffix:
             - base_dn: ou=users,o=personal
             - domain_controllers: 111.11.111.11
             - ad_port: 389
             - use_tls: 0
             - network timeout: 200
    [NOTICE] adLDAP object created.
    [INFO]   max_login_attempts: 3
    [INFO]   users failed logins: 0
    [NOTICE] trying account suffix ""
    [ERROR]  Authentication failed
    [WARN]   storing failed login for user "theuser"
    
    Logon failed

    Any hint?

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

  2. visionviper
    Member
    Posted 1 year ago #

    Are you sure there is no account suffix? I had this problem until I found out that our AD server required the suffix @domain.com at the end of the usernames.

  3. Joff Crabtree
    Member
    Posted 1 year ago #

    I added a suffix and it resolved the error - Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic