Topic: Getting phpLDAPAdmin Server to talk to my new iredmail server
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Fresh new Centos 7 Core Minimal
- 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:
====
Have a fresh Iredmail Server running. Have a seperate phpLDAPAdmin Server that I use with my old Iredmail Server just fine.
Working with phpLDAPAdmin config.php, I have the following key settings:
$servers->setValue('server','host','ldap://postman.mydomain.com/');
$servers->setValue('server','port',389);
$servers->setValue('login','attr','dn');
$servers->setValue('appearance','password_hash','');
$servers->setValue('server','tls',true);
On new mail server, confirmed ldap listening on 389
[root@mail ~]# netstat -ntlp |grep 389
tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN 1455/slapd
tcp6 0 0 :::389 :::* LISTEN 1455/slapd
[root@mail ~]#
I ran ldapsearch from phpLDAPAdmin server:
# ldapsearch -Z -H ldap://postman.mydomain.com:389
ldap_start_tls: Can't contact LDAP server (-1)
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
I can ping postman.mydomain.com that's on same subnet.
My new mailserver (postman.mydomain.com) is on Centos 7.2 minimal. No firewall installed. SELinux Disabled.
Can anyone share their phpldapadmin config.php settings? to help me get my phpldapadmin server to connect to new mail server?
I do have a bought SSL Cert and it's installed.
thanks!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.