Topic: phpldapadmin - Error: Inappropriate authentication (48) for login
==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Open LDAP 2.4.39
- Web server (Apache or Nginx): apache 2.2.15
- Linux/BSD distribution name and version: CentOS 6.6 x86_64
- Related log if you're reporting an issue:
====
I installed the latest phpldapadmin v1.2.3 from source and configured the thing in part as:
$servers->setValue('server','host','localhost');
$servers->setValue('server','port',389);
$servers->setValue('login','auth_type','session'); (also tried 'cookie')
$servers->setValue('server','base',array('o=domains,dc=MYSITE,dc=TLD')); (also omitted this)
I tried a large number of config permutations and tried logging in with
cn=Manager,dc=MYSITE,dc=TLD and the password supplied for that account.
I always get the connection failure:
Unable to connect to LDAP server Charbelite LDAP
Error: Inappropriate authentication (48) for login
error Failed to Authenticate to server
Invalid Username or Password.
I used a windows LDAP client on my laptop and was able to access the database just fine.
phpldapadmin used to be supplied with iRedMail, so I am wondering if there are picky config settings for it?
When I used the command line ldapsearch I noticed that it uses ldap_sasl_bind, but using the right config params I could also connect to the LDAP db.
Any ideas?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.