Hi,

I have an asynchronous task running to sync openldap to AD.
Before I delete users from openldap I set an attribute's value to "disable", 
wait 30 sec and delete it.
With lsc I can then disable the user in AD, but that only works for the first 
time after restarting lsc.
Following disables are not triggered anymore unless I restart lsc again.
Any assumptions?

Regards,
Christian


---
        <dataset>
          <name>userAccountControl</name>
          <policy>FORCE</policy>
          <forceValues>
            <string>
              var uac = dstBean.getDatasetFirstValueById('userAccountControl');
              if (srcBean.getDatasetFirstValueById('PersonNotes') == "disable") 
{
                uac = 
AD.userAccountControlSet(dstBean.getDatasetFirstValueById('userAccountControl'),
 [AD.UAC_SET_ACCOUNTDISABLE]);
              } else {
                uac = 
AD.userAccountControlSet(dstBean.getDatasetFirstValueById('userAccountControl'),
 [AD.UAC_UNSET_ACCOUNTDISABLE]);
              }
              uac;
            </string>
          </forceValues>
        </dataset>
---

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________________________
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