Great catch Clément! Thank you very much for helping me with this.

Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Clément OUDOT
Gesendet: Montag, 9. Januar 2017 09:44
An: [email protected]
Betreff: Re: [lsc-users] How to synchronize generalizedTime attributes




Le 02/01/2017 à 10:41, Alexander Herr a écrit :
I want to synchronize attributes that are defined and stored at the LDAP source 
as well as in the AD destination as generalizedTime (i.e. 20121001000000Z for 
the 1st of October 2012 at midnight). I have correctly listed the attributes as 
<string>customAttributeDateOfBirth</string> in the fetchedAttributes list of 
both the source and destination.

However, when synchronizing, LSC fails with:
[LDAP: error code 21 - 00000057: LdapErr: DSID-0C090CE0, comment: Error in 
attribute conversion operation

Any idea on how to fix this?


Hello,

reading MS documentation, it seems AD generalizedTime format is 
YYYYMMDDHHMMSS.0Z (see 
https://msdn.microsoft.com/en-us/library/ms684436(v=vs.85).aspx)

You need to script in LSC a converstion between OpenLDAP and AD formats.


--

Clément OUDOT

Consultant en logiciels libres, Expert infrastructure et sécurité

Savoir-faire Linux

137 boulevard de Magenta - 75010 PARIS

Blog: http://sflx.ca/coudot
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to