[ZendTo] FW: address book project
Naz Snidanko
nsnidanko at harperpowerproducts.com
Tue Oct 19 19:52:03 BST 2010
Hi ZendTo Users,
This list seems to be awfully quite. I want to share a code for ZendTo
LDAP/AD address book.
How it works:
You run crontab script which pulls [DisplayName] and [email] from
AD/LDAP and injects them into database. There's a piece of code that
adds address book functionality to new drop-off. It will be visible only
to authenticated users. Address book contains entries from the database.
Quite simple!
Download:
http://zendto.harpergroup.ca/zendto_ad.zip
Installation:
1. Upload and replace all files inside your default zendto directory
from zendto_ad.zip
2. Edit database setting inside verify.php
3. Create new MySQL table called ad_users with the following structure:
Structure: ad_user_id int(11) no NULL, display_name varchar(50) yes
NULL, email_address varchar(50) yes NULL
4. Edit your LDAP account as well as database settings inside
load_ad_address_book.php
5. Create a cron job to run the following script:
load_ad_address_book.php:
for Example:
/usr/bin/php5 /home/zendto/www/load_ad_address_book.php > /dev/null 2>&1
Please let me know what you think,
Naz Snidanko
Desktop & Network Support
Harper Power Products Inc.
(p) 416 201- 7506
nsnidanko at harperpowerproducts.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20101019/d7eae5cf/attachment.html
More information about the ZendTo
mailing list