Results 1 to 2 of 2

Thread: login soap w/ ldap

  1. #1
    kblackwell is offline Sugar Community Member
    Join Date
    Jul 2008
    Posts
    69

    Default login soap w/ ldap

    I've been troubleshooting this problem, and this is what I came up with so far.

    I'm trying to get another application to transfer data to sugarcrm via soap.

    1st question.

    I have ldap enabled, and the best I can tell if you want people to login to soap with ldap enabled, you need to set the encription key. Well with that enabled, you need to use the encryption key to login. My program isn't allowing me to set an encryption key. so I'm SOL?

    2nd question.

    If the first question is true, then is there a way to disable the encryption key?

    3rd ?

    if 1 and 2 are not true, am I missing something. I created a regular user in the system, and I did a tcpdump on the sugarcrm server and tried to login. The username and (md5 encrypted) password came over, but says invalid login. Am I missing something to enable a user to login via soap? Admin user isn't working either. That might be by design though, not sure.

  2. #2
    robertbmirth is offline Sugar Community Member
    Join Date
    Jun 2010
    Location
    Irvine, CA
    Posts
    345

    Default Re: login soap w/ ldap

    Haven't worked with ldap before, but in regards to your last question, you also need a version when you authenticate with sugar's soap api. In nusoap it looks like this:

    PHP Code:
    $client = new nusoap_client($wsdl,true);

    $auth_array = array(
        
    'user_name' => $username,
        
    'password' => $password,
        
    'version' => '0.1'
     
    );

    $login_params = array('user_auth' => $auth_array,
        
    'application_name' => 'myapp');

    $login_results $client->call('login',$login_params);
             
    $session_id =  $login_results['id']; 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SOAP login with LDAP issue
    By derekvincent in forum Developer Help
    Replies: 3
    Last Post: 2011-01-07, 06:58 PM
  2. Enable ldap login support
    By gdamjan in forum Help
    Replies: 1
    Last Post: 2010-02-25, 03:47 PM
  3. LDAP login and normal login
    By patben65 in forum Help
    Replies: 2
    Last Post: 2009-10-08, 08:36 AM
  4. Replies: 1
    Last Post: 2009-08-26, 02:48 PM
  5. Soap Ldap Login Problem
    By jherington in forum Help
    Replies: 10
    Last Post: 2007-12-17, 11:33 PM

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
  •