Hi, thanks for support, but still the same problem - all users are being
sync to AD. No users flter at all. Code goes like this:
<propertiesBasedSyncOptions>
<mainIdentifier>"CN=" +
srcBean.getDatasetFirstValueById("cn") +
",OU=Group1,DC=lsc-project,DC=org"
</mainIdentifier>
<defaultDelimiter>;</defaultDelimiter>
<defaultPolicy>KEEP</defaultPolicy>
<conditions>
<create>js:
var first =
srcBean.getDatasetFirstValueById("employeeNumber")
var second = first.match("AB")
var third = first.match("")
if (second = first.match("AB")) {true}
else if (third = first.match("")) {true}
else {false}</create>
<update>true</update>
<delete>true</delete>
<changeId>true</changeId>
</conditions>
<dataset>
Is my code wrong?
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users