Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Active Directory (AD), LDAP Authentication & Invalid username or password!

    Scheduled Pinned Locked Moved Operating
    3 Posts 2 Posters 7.5k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mrcpu1
      last edited by

      Hello everyone - I've been trying to figure this out for over a week and I'm at a loss, here is what I have so far.
      i-doit v 0.9.9.8-pro on CentOS 5.8 Final, w/Apache 2.2.3, PHP 5.3.13

      I've configured LDAP to connect to our AD environment, I have attached the screen shots to our configs for ldap.
      I've also attached our Active Directory Mappings,

      The user has been created, along with the login information, BUT no login password was entered. and NO group membership added.

      In the config.inc.php file I have defined the default group membership for users:
      define("C__LDAP__GROUP_IDS",  "15")

      so I want users to get assigned ADMIN rights if they have no other groups defined (at least initially for testing purposes)

      SO, I try to login this user, rigarcia, and I can see in the log (ldap_debug.txt) that it does indeed try to authenticate:

      2012-06-04 18:26:22 ldap: 1: ad-dc4.coh.org (OU=COH,DC=coh,DC=org)
      2012-06-04 18:26:22 ldap: –--------------------------------------------------------------------------------------------
      2012-06-04 18:26:22 ldap: Creating new ldap-library connection to: ad-dc4.coh.org:389, user: cn=tctl,ou=service accounts,dc=coh,dc=org
      2012-06-04 18:26:22 ldap: Connected to ad-dc4.coh.org
      2012-06-04 18:26:22 ldap: Searching for username: rigarcia
      2012-06-04 18:26:22 ldap: Getting user(s) using filter: (sAMAccountName=rigarcia) in search-path: OU=COH,DC=coh,DC=org
      2012-06-04 18:26:22 ldap: Found DN: CN=Garcia, Rick,OU=Users,OU=COH,DC=coh,DC=org. Trying to login with it.
      2012-06-04 18:26:22 ldap: Auth successfull (CN=Garcia, Rick,OU=Users,OU=COH,DC=coh,DC=org).

      If I try to use the wrong password, I do get an authentication failure:
      2012-06-04 17:37:01 ldap: Found DN: CN=Garcia, Rick,OU=Users,OU=COH,DC=coh,DC=org. Trying to login with it.
      2012-06-04 17:37:01 ldap: ** Auth failed. LDAP-Result: Invalid credentials
      2012-06-04 17:37:01 ldap: ----------------------------------------------------------------------------------------------
      2012-06-04 17:37:01 ldap: *** LDAP Auth failed. (false)

      So I KNOW the authentication is working.

      Why is it I can not login still then with the RIGHT password? I keep getting thrown BACK to the Invalid Username or password prompt when I use the right password?

      It never proceeds to ask me for the language or allows me to login? what am I missing now?

      Help!
      ldap-config.jpg
      ad-mappings.jpg
      user-contact.jpg

      1 Reply Last reply Reply Quote 0
      • M Offline
        mrcpu1
        last edited by

        Almost 3 months, no one else has experienced this or has any other recommendations?

        1 Reply Last reply Reply Quote 0
        • creissC Offline
          creiss i-doit Kenner
          last edited by

          Hi,

          Seems to be an unknown behavior. Did you try to update your version to our newest version?

          Regards,
          Christian

          NEU - i-doit und IT-Dokumentation bei YouTube: https://www.youtube.com/@donamic_de
          Komplett-Strategie: https://i-doit-trainings.de/it-dokumentation-komplett-strategie/
          i-doit Mastery – https://i-doit-trainings.de/i-doit-mastery

          1 Reply Last reply Reply Quote 0
          • First post
            Last post