I have LSC 2.1.3 working ok syncing users from AD to OpenLDAP (I don't need 
bi-directional sync)
The setup has been working ok deleting users in OpenLDAP who are not in AD, but 
I now find that I need to allow some special identified users in OpenLDAP who 
are not in AD.

OK, the simple answer would be to get them added to AD, but this has some local 
issues.  I need to add some special users to OpenLDAP who will not be deleted 
on the 'clean' operation.

I've tried messing with some javascript in the cleanFilter and the delete 
conditions, but without success - other than to stop all deletions.

Any ideas how LSC can be used to selectively not delete users in the 
destination?

My current cleanFilter on the source is:
<cleanFilter><![CDATA[&ObjectClass=user)(cn={cn}))]]</cleanFilter>
Destination (OpenLDAP) has no cleanFilter

I want something like

var delete = true;
if (cn.startsWith("sys")) {
  delete = false;
}
delete



Thanks
Carl Wilson
MMS Support

Thales UK
Poseidon House, Ashurst Drive, Cheadle Heath, Stockport, SK3 0XB - UK
www.thalesgroup.com/uk

Tel: +44 (0)161 741 3840
[email protected]<mailto:[email protected]>

Please consider the environment before printing a hard copy of this e-mail.

The information contained in this e-mail is confidential. It is intended only 
for the stated addressee(s) and access to it by any other person is 
unauthorised. If you are not an addressee, you must not disclose, copy, 
circulate or in any other way use or rely on the information contained in this 
e-mail. Such unauthorised use may be unlawful. If you have received this e-mail 
in error, please inform us immediately on +44 (0)161 491 4001 and delete it and 
all copies from your system.

Thales UK Limited. A company registered in England and Wales. Registered 
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, 
Surrey KT15 2NX. Registered Number: 868273

_______________________________________________________________
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