diff --git a/README.md b/README.md index 887120b..e2c0b22 100644 --- a/README.md +++ b/README.md @@ -257,6 +257,7 @@ folder for help with: - [Dex](example_configs/dex_config.yml) - [Dokuwiki](example_configs/dokuwiki.md) - [Dolibarr](example_configs/dolibarr.md) +- [Ejabberd](example_configs/ejabberd.md) - [Emby](example_configs/emby.md) - [Gitea](example_configs/gitea.md) - [Grafana](example_configs/grafana_ldap_config.toml) diff --git a/example_configs/ejabberd.md b/example_configs/ejabberd.md new file mode 100644 index 0000000..8d2d615 --- /dev/null +++ b/example_configs/ejabberd.md @@ -0,0 +1,30 @@ +# Basic LDAP auth for a Ejabberd XMPP server + +[Main documentation here.](https://docs.ejabberd.im/admin/configuration/ldap/) + +For simple user auth add this to main ejabberd.yml: + +``` +host_config: + xmpp.example.org: + auth_method: [ldap] + ldap_servers: + - 127.0.0.1 #IP or hostname of LLDAP server + ldap_port: 3890 + ldap_uids: + - uid + ldap_rootdn: "uid=lldap_readonly,ou=people,dc=example,dc=org" + ldap_password: "secret" + ldap_base: "ou=people,dc=example,dc=org" +``` + +## vCard from LDAP +Theoretically possible, [see the documentation.](https://docs.ejabberd.im/admin/configuration/ldap/#vcard-in-ldap) + +TODO + +## Shared roster groups from LDAP + +Theoretically possible, [see the documentation.](https://docs.ejabberd.im/admin/configuration/ldap/#shared-roster-in-ldap) + +TODO