new 3.0.2.3 install - Cannot login to Mailwatch admin page with any acct if change to use AD/LDAP
Posted: 13 Jun 2017 05:09
I'd been using EFA for a couple of years now successfully upgrading and using Active Directory for authentication in MailWatch to view quarantined emails, release them, etc.
Well the last upgrade crashed out to the point I decided to download and install from scratch the latest VMware OVA of eFa to replace the old one.
I went through and made all the same changes to the config.php as before from: viewtopic.php?f=14&t=1484.
Made changes to mailwatch_ldap_sync.sh that I found in the new path of /usr/local/bin/mailwatch/tools/LDAP/ to match.
Made sure I installed php-ldap (yum install php-ldap)
Made sure I installed the openldap-clients (yum install openldap-clients)
I ran the script above and my database populated properly.
But when I make the last change to conf.php of
I can no longer login to the main MailWatch page with the root account or another I created that is the main user, both defined as Administrators in the MySQL database. I cannot login as any of my AD users either.
I receive:
Forbidden
You don't have permission to access /mailscanner/checklogin.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use the ErrorDocument to handle the request.
If I change the setting back to
then I can successfully login with only the root and original or accts I create and none of the AD/LDAP accounts that were imported.
For those I get:
Bad Username or Password
Any ideas?
Thanks, Jeff
Well the last upgrade crashed out to the point I decided to download and install from scratch the latest VMware OVA of eFa to replace the old one.
I went through and made all the same changes to the config.php as before from: viewtopic.php?f=14&t=1484.
Made changes to mailwatch_ldap_sync.sh that I found in the new path of /usr/local/bin/mailwatch/tools/LDAP/ to match.
Made sure I installed php-ldap (yum install php-ldap)
Made sure I installed the openldap-clients (yum install openldap-clients)
I ran the script above and my database populated properly.
But when I make the last change to conf.php of
Code: Select all
define('USE_LDAP', true);
I receive:
Forbidden
You don't have permission to access /mailscanner/checklogin.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use the ErrorDocument to handle the request.
If I change the setting back to
Code: Select all
define('USE_LDAP', false);
For those I get:
Bad Username or Password
Any ideas?
Thanks, Jeff