You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the executable plugin as a destination service and am syncing from active directory. I am trying to use objectGUID as the pivot attribute. For example, on a particular LDAP entry, an LDAP search of active directory returns:
objectGUID:: awOS8elHDEiszxWm8l1aPA==
But, when I run LSC, the following is sent to my script:
From http://tools.lsc-project.org/issues/766
I am using the executable plugin as a destination service and am syncing from active directory. I am trying to use objectGUID as the pivot attribute. For example, on a particular LDAP entry, an LDAP search of active directory returns:
objectGUID:: awOS8elHDEiszxWm8l1aPA==
But, when I run LSC, the following is sent to my script:
objectguid:: awPvv73vv73vv71HDEjvv73vv70V77+977+9XVo8
I was able to fix the issue by modifying AbstractExecutableLdifService.java and changing the toLdif method. I changed the following line:
LdifLayout.printAttributeToStringBuffer(sb, attributeName, Collections.singletonList((Object)attributes.getStringValueAttribute(attributeName)));
to:
LdifLayout.printAttributeToStringBuffer(sb, attributeName, new ArrayList<Object>(attributes.getDatasets().values()));
I am fairly new to LDAP and LSC, so I am not sure if this breaks other things, but the proper string is now passed to my script...
Here is my connection information:
Here is my ldap source service:
The text was updated successfully, but these errors were encountered: