On 2015-12-07 09:54, Clément OUDOT wrote:
Le 03/12/2015 13:54, Gmail a écrit :
Hi, I am trying to do something like “lsc -f /etc/configs_xxx/ -s sync_one_user” to just sync one user, But the name of this user just can be written in lsc.xml file, Is there any way to realize “lac -f /etc/config_xxx/ -s sync_one_user <username>”??
I can’t find any information in lsc’s document..


Hello,

sadly, this is not possible. You can try to write a shell wrapper that
will do a sed on lsc.xml before launching LSC.

I'd recommend xmlstarlet (http://xmlstar.sourceforge.net/) over regex when it comes to manipulating xml via shell
_______________________________________________________________
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