Hi Christian, Can you give a little bit more information ? The way you are launching LSC, the filter you use to look for updated OpenLDAP entries, ...
Kind regards, Sebastien BAHLOUL IAM / Security specialist Ldap Synchronization Connector : http://lsc-project.org Blog : http://sbahloul.wordpress.com/ 2013/4/19 Christian Bösch <[email protected]> > 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> > --- > _______________________________________________________________ > Ldap Synchronization Connector (LSC) - http://lsc-project.org > > lsc-users mailing list > [email protected] > http://lists.lsc-project.org/listinfo/lsc-users > >
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

