Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 12094

ldap and ejabberd

$
0
0

======== Required information ====
- iRedMail version (check /etc/iredmail-release): lasted version
- Linux/BSD distribution name and version: Debian Jessie 64 bits
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

Dear,

I looking for configure ejabberd with ldap. (iredmail and ldap they are same server).

My configuration ldap ejabberd :

## Authentication using LDAP
##
auth_method: ldap
##
## List of LDAP servers:
ldap_servers:
   - "127.0.0.1"
##
## Encryption of connection to LDAP servers:
## ldap_encrypt: none
##ldap_encrypt: tls
##
## Port to connect to on LDAP servers:
ldap_port: 389
## ldap_port: 636
##
## LDAP manager:
ldap_rootdn: "cn=vmail,dc=phs,dc=lan"
##
## Password of LDAP manager:
ldap_password: "Mypassword"
##
## Search base of LDAP directory:
ldap_base: "o=domains,dc=phs,dc=lan"
##
## LDAP attribute that holds user ID:
ldap_uids: "%u@phs.lan"
##
## LDAP filter:
ldap_filter: "(&(objectClass=mailUser)(accountStatus=active))"

When i configure ldap in ejabberd.yml and restart it's ok no error.
But when i want to connect with pidgin, i have this error :

Thanks you.


Viewing all articles
Browse latest Browse all 12094

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>