GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » Kerio Connect » Active Directory Auth seems not to work (Authentication against Active Directory with diffrent domain name does not work.)
Active Directory Auth seems not to work [message #136439] Thu, 10 August 2017 16:51 Go to next message
roli8200 is currently offline  roli8200
Messages: 4
Registered: August 2017
Location: Kreuzlingen
Hello

We have installed our First Kerio Connect 9.2.x (first customer project to see if this product fits customers need in daily business) on Windows Server 2012R2
But after all reading (connect manual, forum topics, howto about user mapping, googling) authentication for AD imported users does not work.

Windows AD Domain is dowa.local.
Kerio is installed to serve the mail domain pneu-ebneter.ch.
I configured AD Directory Service as in screenshot 1.
Test Connection to AD is successful.
But logon is not possible. In Security I only get the following error: External authentication service rejected due to invalid password for authentication restriction.

Authenticated bind with an external LDAP tool and this user worked without problems (AD username: user<_at_>ad-domain as well as DN CN=username,OU=Users,DC=...)

Something seems to be wrong with Kerio connect, since it seems that I could exclude all other sources of error.

Is there a possibilit to increase the debug level of Kerio to see what it really sends to AD?
  • Attachment: Kerio1.png
    (Size: 31.33KB, Downloaded 959 times)
Re: Active Directory Auth seems not to work [message #136445 is a reply to message #136439] Thu, 10 August 2017 20:41 Go to previous messageGo to next message
Kerio/GFI Brian is currently offline  Kerio/GFI Brian
Messages: 852
Registered: March 2004
Location: California
Make sure that in the Advanced tab you have defined your Kerberos realm (should match your AD domain name).
Kerio Connect takes the user's credentials and attempts to authenticate against the DC. This means that the system where Kerio Connect resides needs to have permission to authenticate on behalf of those users.
For more logging you can right click inside the debug log window and choose messages. Enable the 'user authentication' option.


Brian Carmichael
Instructional Content Architect
Re: Active Directory Auth seems not to work [message #136448 is a reply to message #136445] Fri, 11 August 2017 07:59 Go to previous messageGo to next message
roli8200 is currently offline  roli8200
Messages: 4
Registered: August 2017
Location: Kreuzlingen
Thanks for Your Answer.

I tried this with the AD Kerberos realm already, sadley, it didn't help in the first time.
After many other tries, I tried to restart Kerio Connect after made this setting.

It turns out, Kerio seems to need restarted after "Domain Join" in order to get it work.
Should be written in the manual.
It works now.

Re: Active Directory Auth seems not to work [message #144433 is a reply to message #136448] Wed, 14 November 2018 15:40 Go to previous messageGo to next message
Halvoň is currently offline  Halvoň
Messages: 1
Registered: September 2013
It is riddiculus BUG.
It works for me!
Re: Active Directory Auth seems not to work [message #144519 is a reply to message #136448] Thu, 29 November 2018 17:13 Go to previous message
Maerad is currently offline  Maerad
Messages: 275
Registered: August 2013
roli8200 wrote on Fri, 11 August 2017 07:59
Thanks for Your Answer.

I tried this with the AD Kerberos realm already, sadley, it didn't help in the first time.
After many other tries, I tried to restart Kerio Connect after made this setting.

It turns out, Kerio seems to need restarted after "Domain Join" in order to get it work.
Should be written in the manual.
It works now.


I dunno what you did, but it actually works without a reboot. If you added the server itself to the AD / domain and didn't restart after, this has nothing to do with kerio. That is an expected behavior.

Also 2 things - first please use a special account for Kerio with limited write/read rights for the ad, not the admin account (also any password change would fuck kerio up). And enable secure LDAPS connection. Even if it's intern, the AD connection should be secured at all times Smile
Previous Topic: Synchro and huge public contacts
Next Topic: Outlook ActiveSync Calendar Read Only 9.2.5 p3
Goto Forum:
  


Current Time: Tue Sep 26 19:22:54 CEST 2023

Total time taken to generate the page: 0.07074 seconds