Results 1 to 2 of 2

Thread: LDAP: Authentication doesn't work after password change

  1. #1
    ks.and1 is offline Junior Member
    Join Date
    Jul 2010
    Posts
    2

    Default LDAP: Authentication doesn't work after password change

    Hello everybody!

    Thanks in advance for your invested time.

    I managed to set up the LDAP authentication successfully using the following configuration:

    Code:
    Enable LDAP Authentication  		y 	 
    Server: 	catsrv02.catalysts.local	
    Port Number: 	389
    User DN: CN=Users,DC=catalysts,DC=local		 	
    Bind Attribute: userPrincipalName 		Login Attribute: userPrincipalName	
    Auto Create Users:y 			
    Encryption Key:
    I created a test user, logged in with my credentials and had a new user created.So far no problems.
    As I changed the password of the user I couldn't manage to login again (neither with the old, nor with the new pw)

    This is the ldap response I extracted with Wireshark:

    Code:
    LDAPMessage bindResponse(1) invalidCredentials (80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db0)
    
    errorMessage: 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db0
    I appreciate any hint where the problem is located (maybe something LDAP/AD specific)

    Best regards
    Alex

  2. #2
    ks.and1 is offline Junior Member
    Join Date
    Jul 2010
    Posts
    2

    Default Re: LDAP: Authentication doesn't work after password change

    The problem has been solved and it's related to a problem of the ldap plugin (and might be useful information):

    When using special characters in passwords (which is rather common I'd say) these passwords get transmitted html-encodedly.

    So for example the password: abc1" becomes abc1&qout; which obviously leads to a failure.

    adding this line to the php script worked (should be taken in general I assume)

    Code:
     html_decode_entities($password)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. LDAP authentication for AD
    By Orac in forum Installation and Upgrade Help
    Replies: 6
    Last Post: 2012-01-20, 11:00 AM
  2. SOAP LDAP Authentication uses clear text password?
    By gedron in forum General Discussion
    Replies: 4
    Last Post: 2010-01-07, 08:10 PM
  3. Replies: 2
    Last Post: 2009-11-09, 08:42 AM
  4. LDAP AUthentication
    By Verluyten in forum Feature Requests
    Replies: 8
    Last Post: 2005-10-28, 12:16 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •