emqx/plugins/emqttd_auth_ldap
2015-05-12 22:39:27 +08:00
..
etc ldap plugin 2015-05-12 10:41:29 +08:00
src misc fix 2015-05-12 22:39:27 +08:00
.placeholder add plugins 2015-03-12 12:50:18 +08:00
README.md misc fix 2015-05-12 22:39:27 +08:00

Overview

Authentication with LDAP.

Plugin Config

 {emqttd_auth_ldap, [
    {servers, ["localhost"]},
    {port, 389},
    {timeout, 30},
    {user_dn, "uid=$u,ou=People,dc=example,dc=com"},
    {ssl, fasle},
    {sslopts, [
        {"certfile", "ssl.crt"},
        {"keyfile", "ssl.key"}]}
 ]}

Load Plugin

Merge the'etc/plugin.config' to emqttd/etc/plugins.config, and the plugin will be loaded automatically.