Hey,
Forget it. Using
"<string>AD.getUnicodePwd(srcBean.getDatasetFirstValueById("description"))</string>"
seems to work well.
Thanks!
-----Original Message-----
From: lsc-users [mailto:[email protected]] On Behalf Of
Bruno Miguel Martins
Sent: Wednesday, March 14, 2018 11:15 AM
To: General discussions and help for Ldap Synchronization Connector (LSC) -
Start here! <[email protected]>
Subject: [lsc-users] Sync password in clear text from OpenLDAP to AD
[This sender failed our fraud detection checks and may not be who they appear
to be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing]
Hi guys,
I want to sync source OpenLDAP attribute "description" to AD "unicodePwd"
attribute. Source is clear text.
If my configuration looks like this, it works:
<dataset>
<name>unicodePwd</name>
<policy>FORCE</policy>
<defaultValues>
<string>AD.getUnicodePwd("456rtyFGH")</string>
</defaultValues>
</dataset>
However this is a fixed password, but what I want is to read it from source,
like:
<dataset>
<name>unicodePwd</name>
<policy>FORCE</policy>
<defaultValues>
<string>srcBean.getDatasetFirstValueById("description")</string>
</defaultValues>
</dataset>
However, with this configuration in place, I get this error:
Mar 14 11:08:56 - ERROR - Error while modifying entry
CN=office1,OU=O365,DC=chp,DC=local in directory
:javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 0000001F:
SvcErr: DSID-031A1254, problem 5003 (WILL_NOT_PERFORM), data 0 ]; remaining
name 'CN=office1,OU=O365'
Mar 14 11:08:56 - ERROR - Error while synchronizing ID
CN=office1,OU=O365,DC=chp,DC=local: java.lang.Exception: Technical problem
while applying modifications to the destination
Thanks for your cooperation!
Best regards,
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users