Third Party Contributions > API Based Plugins

New plugin: identity_from_directory (maintain identities with LDAP / AD)

(1/1)

andreashaerter:
Hi, we just released a new Roundcube plugin to automatically populate and maintain user identities on each login[/b], based on corresponding LDAP or Active Directory user data.

I hope this is also useful for somebody else, we use it for our email stack to get rid of Exchange, so no one-man-show and there will be proper maintenance in the future.


* Package: https://packagist.org/packages/foundata/identity_from_directory
* Repository: https://github.com/foundata/roundcube-plugin-identity-from-directory
This hopefully provides all an admin needs, including fallback values for missing fields etc..

Small example: A user with the following Active Directory data



and a signature template set to


--- Code: (php) ---$config['identity_from_directory_signature_template_html'] = '
<p>
    Kind regards<br />
    <strong>%name_html%</strong><br />
    %organization_html%
</p>
<p>
    mailto: <a href="mailto:%email_html%">%email_html%</a><br />
    phone: <a href="tel:%phone_url%">%phone_html%</a><br />
    fax: <a href="tel:%fax_url%">%fax_html%</a><br />
    web: <a href="%website_html%">%website_html%</a>
</p>';

--- End code ---

would result in the following Roundcube identities after the user login:


Navigation

[0] Message Index

Go to full version