Page 1 of 1

MailWatch AD integration not working

Posted: 09 Nov 2017 14:54
by andreshko.georgiev
Hello guys,

I have a pretty big problem. After upgrading to 3.0.2.5 3 or 4 weeks ago, I just noticed that I cannot log on to MailWatch with AD accounts. It just says "Bad Username or Password". Could you please give me some idea how can I test the link between the MailWatch and the AD? Any clue will be very helpful because right now I am in the middle of nowhere and do not know where or want to check.

Re: MailWatch AD integration not working

Posted: 11 Nov 2017 09:33
by Zwabber
Try to login with "user@yourdomain.name"

Re: MailWatch AD integration not working

Posted: 12 Nov 2017 10:42
by shawniverson
Still having issues or need some help still?

Re: MailWatch AD integration not working

Posted: 15 Nov 2017 15:46
by andreshko.georgiev
Hi,

After some research I figured out how to fix the problem. I changed the following lines in /var/www/html/mailscanner/conf.php

from
define('LDAP_USER', 'domain\username');
to
define('LDAP_USER', 'username@domain');

and

this to define('LDAP_USERNAME_FIELD', 'userprincipalname');

and it started to work again. The strangest thing is that is stopped working after the update to 3.0.2.5. Before that it worked fine.

Re: MailWatch AD integration not working

Posted: 15 Nov 2017 23:36
by shawniverson
There was some changes made around LDAP in MailWatch. Hopefully they have the issues resolved in the latest builds.