Le 24 avril 2012 01:05, Hugh Kelley <[email protected]> a écrit : > I am trying to retrieve AD/ADAM objectGUID attributes in their > string-formatted form from the source directory. So far, I'm getting some > jumbled mess that I assume is a direct translation of the binary objectGUID > into a character set. > > Unfortunately, this is really the only unique and immutable attribute for > OUs in MS directory services. Assuming this attribute has already been > crammed into a string (by JNDI) by the time the LSC runtime sees it, where > can I customize this behavior, by inheriting from > com.sun.jndi.ldap.LdapCtxFactory ? > > My LSC excerpt is below: > > <ldapSourceService> > <name>MySyncTask-src</name> > <connection reference="src-ldap"/> > <baseDn>dc=xyz,dc=net</baseDn> > <pivotAttributes> > <string>objectGUID</string> > </pivotAttributes> > <fetchedAttributes> > <string>description</string> > <string>distinguishedName</string> > <string>objectGUID</string> > <string>ou</string> > </fetchedAttributes> > <getAllFilter> > (&(!(isCriticalSystemObject=TRUE))(objectClass=organizationalUnit))</getAllFilter> > <getOneFilter> > (&(!(isCriticalSystemObject=TRUE))(objectClass=organizationalUnit)(objectGUID={objectGUID}))</getOneFilter> > </ldapSourceService>
Hello, can you try to add objectGUID in the binary attributes of your LDAP connection? See binaryAttributes in http://lsc-project.org/wiki/documentation/2.0/configuration/connections/ldap Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

