1

Topic: LDAP authentication on different domains and usernames

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): iRedMail-0.9.8
- Linux/BSD distribution name and version: Debian 9 Stretch
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello M8's!

I'm fighting with an LDAP configuration which is a little bit confusing me and it's getting hard and hard.
We are using different domain with different usernames than the mail addresses. I've found some related topics here in the topics but i'm not getting closer to solve the probem.
So the AD domain is example.com the mail domain is example.hu. Also the usernames are different. What should i modify in the ldap queries to make it work.

Thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: LDAP authentication on different domains and usernames

Make sure you use the correct LDAP filter to query AD and get expected result.