I am hoping that someone would be able to assist me on this matter.
I am currently setting up EFA 3.0.2.5 and attempting to get it to work before I upgrade to 3.0.2.6.
The issue I am having is after making the LDAP changes in the conf.php file, I am able to get a the mailscanner login screen, but with any log in credential (local or AD based), I get a http 500 error.
my conf.php file looks like this :
Code: Select all
// LDAP settings for authentication
// LDAP settings
define('USE_LDAP', true);
define('LDAP_HOST', 'dc01.ghataura.com');
define('LDAP_PORT', '389');
define('LDAP_DN', 'DC=ghataura,DC=com');
define('LDAP_USER', 'ldap@ghataura.com');
define('LDAP_PASS', 'ldap');
define('LDAP_SITE', 'default-first-site-name');
define('LDAP_SSL', false); // Set to true if using LDAP with SSL encryption.
define('LDAP_FILTER', 'mail=%s'); //%s will be replaced by username eg. 'mail=%', 'mail=SMTP:%s', 'sAMAccountName=%s'
define('LDAP_PROTOCOL_VERSION', 3);
// can be set to 'proxyaddresses' or 'mail'. Please refer to your LDAP system manual for the right keyword
define('LDAP_EMAIL_FIELD', 'mail');
// Ldap field that is used to bind to the ldap server to check the credentials.
// The value of the LDAP_USERNAME_FIELD will be extended by LDAP_BIND_PREFIX and LDAP_BIND_SUFFIX to created the binding username.
// define('LDAP_FILTER', 'sAMAccountName=%s');
//define('LDAP_USERNAME_FIELD', 'sAMAccountName');
define('LDAP_USERNAME_FIELD', 'cn');
// define('LDAP_BIND_PREFIX', 'cn=');
//define('LDAP_BIND_SUFFIX', '@' . LDAP_DN);
// Microsoft Active Directory compatibility support for searches from Domain Base DN
define('LDAP_MS_AD_COMPATIBILITY', true);
here is a screenshot of the error as displayed:
if i disable the LDAP everything works as expected, and i am at a complete loss.