ADProvision
AutoProvisioning in LAZY or EAGER mode of Active Directory users for ZCS 7.x FOSS.
It includes ADPassword, to change Active Directory passwords from the Zimbra web client.
Note: ZCS 8.x FOSS already HAS a similar (better) feature.
Requirements
- Zimbra Collaboration Suite 7.x FOSS
- Windows 2008 Active Directory
Installation
- As root, create the /opt/zimbra/lib/ext/adpassword directory
- As root, copy adPassword.jar into /opt/zimbra/lib/ext/adpassword/
- As root, import the DER domain controller certificate into the trusted keystore /opt/zimbra/java/jre/lib/security/cacerts
- Restart Zimbra
Configure authentication settings for your domain
- Open the Zimbra Administration console
- Select External LDAP as authentication mechanism
- Type the LDAP URL and check Use SSL
- Type samaccountname=%u in the LDAP filter field
- Specify cn=users,dc=SERVER,dc=EXT in the LDAP search base field
- Check Use DN/Password to bind to external server
- Enter the Bind DN cn=Administrator,cn=users,dc=SERVER,dc=EXT and its password
- If Test past, click Finish
- Assign the new change password listener ADPassword
Configure autoprovisioning settings for your domain
As zimbra user:
- Common setting
- zmlocalconfig -e adprovision_domain_name=example.com
- zmlocalconfig -e adprovision_initial_sleep=2
- zmlocalconfig -e adprovision_sleep_interval=15
- Eager mode
- zmlocalconfig -e adprovision_sync_mode=eager
- zmlocalconfig -e adprovision_batch_size=10
- Lazy mode
- zmlocalconfig -e adprovision_sync_mode=lazy
- zmlocalconfig -e zimbra_class_provisioning=it.iknowconsulting.adprovision.ADProvisioning
Then reload local configuration with: zmlocalconfig -l
Note: adprovision_initial_sleep and adprovision_sleep_interval are expressed in minutes
The use of local configuration allows us to change every parameter while Zimbra is running. Do a zmlocalconfig -l to apply the changes.
Useful Links
- Zimbra GAL lookups against Active Directory
- How to enable LDAPS on Windows 2008 Active Directory Domain
- Source code
- Bug report
| Downloads: | 151 |
|---|---|
| Latest Version: | 1.0 |
| Categories: | Utilities |
| Compatibility: | ZCS 7.1.0, ZCS 7.1.3 |
| License: | AL |
| Created: | November 17, 2012 |
| Updated: | November 17, 2012 |
Add a Review
Please log in to post review/comments.
