script after omldapsync

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

eyalm
Posts: 123
Joined: Mon Feb 27, 2006 12:15 am

script after omldapsync

Postby eyalm » Thu Mar 15, 2007 6:42 pm

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.

KevinAnderson

Postby KevinAnderson » Thu Mar 15, 2007 8:08 pm

Can you write a wrapper script that would call ldapsync, and then call sxaa?

Kev.

eyalm
Posts: 123
Joined: Mon Feb 27, 2006 12:15 am

Postby eyalm » Fri Mar 16, 2007 10:08 am

Yes, that's what I want to know.
I just can't find the variable in omldapsync with the UID or Full Name.

dannyt
Scalix
Scalix
Posts: 140
Joined: Mon Aug 08, 2005 11:52 am
Location: UK

Postby dannyt » Wed Mar 21, 2007 7:38 am

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


Return to “Scalix Server”



Who is online

Users browsing this forum: Google [Bot] and 15 guests

cron