Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Synchronization of AD account's fields with EPi's user fields

Vote:
 
Hello, I'm trying to synchronize some AD account's fields to EPi's user fields. In this moment, only username is synchronized. "First Name", "Last Name" etc are not sunchronized at all. I found some comments related to use of ldapSync section within the web.config and that it does this kind of mapping. For this purpose I created the schedule job that is described in (http://www.episerver.com/templates/CommunitySample.aspx?id=6639&epslanguage=EN) and used the call of LdapAuthenticationProvider.SyncUserSettings method. "SDK documentation 4.6.1" descibes this method as "Updates the PersonalizedData object with values from an ldap source according to the settings in the /episerver/ldapSync section of web.config ". So, according to the sdk description I defined the "ldapSync" section within the episerver section like below:
.... ..... After manual starting of schedule job I haven't synchronized last name. What am I doing wrong? Is there any other way to define mapping of AD fields to EPi user's fields? .. or this way is good? (besides LastName, FirstName I have other fields too) Thanks in advance Best Regards Vlada
#17640
May 09, 2007 13:41
Vote:
 
Well, I've just discovered the right version of "Using LDAP for User Authentication". It is at "http://www.episerver.com/downloads/Documents/TechNotes/EPiServer%204.61/All%20Technical%20Notes/Using%20LDAP%20for%20User%20Authentication.pdf". I was reading the version that belongs to 4.50 and because of that I couldn't find details related to ldapSync section within web.config. Anyway, as document describes, the real code should be like this: ...
... ... ... After those changes everything works perfect. /Vlada
#18474
May 10, 2007 19:24
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.