Results 1 to 2 of 2

Thread: Populate User Information

  1. #1
    itlime is offline Member
    Join Date
    Sep 2007
    Posts
    6

    Default Populate User Information

    Hey All,
    I was wondering if there was a way for sugar to populate the information from a LDAP source automatically? I currently have sugar working with my AD, and auto create users checked, however when it creates the user it doesnt populate any fields, is it suppose to? If not is there a way to have sugar to do? Also the username it creates for the auto created users is the full display name, not their LDAP username, is there a way to make it use the username and not the full display name? Thanks
    Last edited by itlime; 2007-10-11 at 04:12 PM.

  2. #2
    nhwebforge is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    10

    Default Re: Populate User Information

    Hello

    We had the same problem.

    To make this work correctly, you need manually edit the following file:

    \modules\Users\authentication\LDAPAuthenticate\LDA PConfigs\default.php

    The lines such as "givenName"=>'first_name', etc. need changing to lowercase... so that it becomes "givenname", etc.

    Do this for all the lines in the array.

    This worked for us and the user details were imported correctly.

    Now, if only I could find out a way to FORCE a synchronisation so that any details changed in AD were reflected to the SugarCRM database, I would be a very happy man!

    For the login username issue, these are the settings we have in the System Config:

    Bind Attribute: userPrincipalName
    Login Attribute: sAMAccountName

    This works for us and I can log in with my username.

    Hope this is helpful!
    Nick

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Populate dropdown with table information
    By mapm in forum Developer Help
    Replies: 4
    Last Post: 2007-06-19, 10:39 AM
  2. Custom required field in User information section
    By Victor Rosillo in forum Help
    Replies: 0
    Last Post: 2007-02-23, 06:29 PM
  3. report to in USER INFORMATION
    By lucadanzi in forum Help
    Replies: 3
    Last Post: 2006-12-15, 05:45 AM
  4. Passing User Information
    By austints in forum Help
    Replies: 0
    Last Post: 2006-06-19, 06:56 PM
  5. 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
  •