This plugin allows you to resolve user email addresses from an LDAP directory.
LDAP Email plugin
This plugin allows you to resolve user email addresses from an LDAP directory. Because there is no UI support for mail resolver configuration, you have to configure this plugin manually. That's done by creating a file named
com.mtvi.plateng.hudson.ldap.LdapMailAddressResolver.xml and dropping it in the
HUDSON_HOME directory. Here's an example configuration file:
bindPassword elements are only required if your LDAP server does not support anonymous binding.
By default, the plugin will form a distinguished name (DN) with this pattern:
However, there are environments where you need to perform an LDAP search. To do this, add a performSearch element to the configuration file:
This will perform a subtree-scoped search within the baseDN with the filter
If you need to produce verbose logging to trace the activities of this plugin, go to /hudson/log and set the logging level to fine for the Logger name hudson.com.mtvi.plateng.hudson.ldap.LdapMailAddressResolver.
Version 0.3 (September 25, 2008)
- More logging
Version 0.2 (September 19, 2008)
- Adding search support
- Adding more verbose logging
- Fixing bug where emailAttribute configuration option was ignored in some circumstances
Version 0.1 (June 20, 2008)
- Initial release