Page 1 of 1
script after omldapsync
Posted: Thu Mar 15, 2007 6:42 pm
by eyalm
Hi,
How can i have omldapsync run a script for each on of the new users added?
I want to add a rule with sxaa to each new user.
Thanks.
Posted: Thu Mar 15, 2007 8:08 pm
by KevinAnderson
Can you write a wrapper script that would call ldapsync, and then call sxaa?
Kev.
Posted: Fri Mar 16, 2007 10:08 am
by eyalm
Yes, that's what I want to know.
I just can't find the variable in omldapsync with the UID or Full Name.
Posted: Wed Mar 21, 2007 7:38 am
by dannyt
Hi,
If you run omldapsync with -d1 option and catch the output, there should be lots of XML data where you can grep and pick what you need for sxaa.
Regards,
Danny