Results 1 to 2 of 2

Thread: AD/LDAP authentification doesn't work anymore after user AD pwds have been changed

  1. #1
    mariusmotoc is offline Junior Member
    Join Date
    Jan 2008
    Posts
    4

    Exclamation AD/LDAP authentification doesn't work anymore after user AD pwds have been changed

    hello every one,

    I have the following problem:

    On a Linux box I put my SugarCRM Version 5.0.0e (Build 3276) and configured to use an AD/LDAP authentification. All worked just fine for 2-3 months.
    Last week my sequrity policy on AD server forced users to change passwords for their AD accounts.
    since then the AD/LDAP authentification doesen't work anymore.

    Auto Create Users: is checked

    I can only think that at the moment the new user is created in SugarCRM DB it meomrises the username and the first password for any user. When the password is changed in AD for the user account their is a problem... Sugar doesen't know what is the password for the user.

    I tried for the account the old AD password, the new AD password, but the same error appeared : Invalid credentials.

    The other test I made was the following:
    I changed manually in Sugar the password for my user. I used the new password for the user and it worked. This is not a good solution in my oppinion... I don't want to manually change the passwords for al users and after that tell them the passwords..... so I am asking for your help to solve this issue.

    If you need any other supplimentary settings configuration from me I'll provide them to you.

    My regards,
    Marius Motoc

    thank you for any piece of idea.

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: AD/LDAP authentification doesn't work anymore after user AD pwds have been changed

    Sugar does not memorize the AD passwords.
    So if the password is changed in AD, Sugar needs automatically the new password.
    Perhaps your administrators password does not work anymore? (see system Settings - LDAP support)

    The authetification mechanism is a little bit funny, I agree, if Sugar cannot login in AD, it tries the original Sugar authentification and checks the password against the md5 encrypted own password.
    This is done in module /modules/Users/authentification/SugarAuthenticate/SugarAutheticateUser.php in functionauthenticateUser.
    If you want to forbid this just write a
    return '';
    at the beginning of the function.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2006-08-14, 11:47 AM
  2. Replies: 3
    Last Post: 2005-11-25, 09:16 AM
  3. Replies: 0
    Last Post: 2005-08-12, 08:48 AM
  4. Cannot Login
    By Dillon in forum Help
    Replies: 16
    Last Post: 2004-10-13, 02:52 AM

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
  •