Results 1 to 5 of 5

Thread: SOAP LDAP Authentication uses clear text password?

  1. #1
    gedron is offline Junior Member
    Join Date
    Dec 2009
    Posts
    4

    Default SOAP LDAP Authentication uses clear text password?

    Hi All,

    We've run into an odd situation I'm wondering if anyone else can shed some light on.
    It looks like Sugar isn't using the LDAP encryption key when trying to authenticate via SOAP. In testing done with SoapUI I can get a successful login only when I use a plain text password, not with a key encrypted version. Has anyone else noticed this?

    The specific issue for us is in using the KINAMU Outlook Connector and LDAP authentication in Sugar. We've already been in contact with the developer and he tends to agree that it looks like Sugar isn't encrypting the password when using LDAP authentication. Anyone have any ideas?

    Thanks,

    -Thomas

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

    Default Re: SOAP LDAP Authentication uses clear text password?

    The LDAP authentication itself uses clear text passwords, that's right.

    SugarCRM uses the encrytion key to encrypt the password on the way from an external application to the suagrcrm server, but on the server there is no more encryption between sugarcrm and ldap.

    A drop of bitterness of the ldap interface.
    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


  3. #3
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    939

    Cool Re: SOAP LDAP Authentication uses clear text password?

    Thomas,

    as far as I remember you are on a 5.5. release. the only thing I see (asides a coiuple of other things ... ;-) ...) in difference here between 5.5 and 5.2 is a missing include.

    eidt the file soap/SoapHelperFunctions.php. find the function decrypt_string (should be around line 1140. In the 5.5.GA CE I am looking at the following line is missing

    require_once('modules/Administration/Administration.php');

    just before the line (which is poretty much at the beginning of the function).

    $focus = new Administration();

    If you don't see this as well ust add it and see if it works then. This coul eb elogic and explain it. Since without the include the $focus object will not be created ad the rest of the decryption will not work. And thus if you log in with a cleartext password the initial attmept to log you in without decoding will be a success. If you log in with an encoded password the initial attempt will fail and the second attempt will fail to decode ...

    let me know if that worked - bzut maybe in the Forum of the connector since I only read here from time 2 time ... when the Kids sleep and the TV Program is too boring ,,,

    christian,

    Quote Originally Posted by gedron View Post
    Hi All,

    We've run into an odd situation I'm wondering if anyone else can shed some light on.
    It looks like Sugar isn't using the LDAP encryption key when trying to authenticate via SOAP. In testing done with SoapUI I can get a successful login only when I use a plain text password, not with a key encrypted version. Has anyone else noticed this?

    The specific issue for us is in using the KINAMU Outlook Connector and LDAP authentication in Sugar. We've already been in contact with the developer and he tends to agree that it looks like Sugar isn't encrypting the password when using LDAP authentication. Anyone have any ideas?

    Thanks,

    -Thomas

  4. #4
    gedron is offline Junior Member
    Join Date
    Dec 2009
    Posts
    4

    Default Re: SOAP LDAP Authentication uses clear text password?

    Hi Christian,

    I've continued this conversation on the KINAMU forum here:
    http://www.sugarforge.org/forum/mess...p?msg_id=24277

    Thanks for your help!

    Cheers,

    -Thomas

  5. #5
    gedron is offline Junior Member
    Join Date
    Dec 2009
    Posts
    4

    Default Re: SOAP LDAP Authentication uses clear text password?

    To anyone also searching for a solution to SOAP LDAP authentication problems in SugarCRM 5.5.0 GA, a workaround is available here:
    http://www.sugarforge.org/forum/foru...&forum_id=3680

    Cheers,

    -Thomas

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Ldap ssl authentication
    By bdptcob in forum General Discussion
    Replies: 3
    Last Post: 2012-01-23, 04:27 PM
  2. LDAP authentication for AD
    By Orac in forum Installation and Upgrade Help
    Replies: 6
    Last Post: 2012-01-20, 11:00 AM
  3. LDAP User Authentication over SOAP
    By turutosiya in forum Developer Help
    Replies: 3
    Last Post: 2009-10-23, 07:55 AM
  4. LDAP Authentication needs TLS and/or SSL
    By jsuther in forum Feature Requests
    Replies: 0
    Last Post: 2008-02-29, 05:01 PM
  5. LDAP authentication
    By Moore in forum Help
    Replies: 4
    Last Post: 2007-08-03, 01:24 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
  •