Apologies for late response, I was on leave last month and just catching up with my email - I can see this generated a lot of discussion and it will be many hours before I am able to finish the thread and see if you got a resolution.

From memory, we are still on windows 2013 AD (not my decision) and because the cyrus server and AD are on the same LAN I believe we decided to just stick to plain LDAP lookups between cyrus and AD, so I might not have a solution.

Regards
Jim

On 13/03/2024 14:07, denis via Info wrote:

Hi Jwallis

I am facing the same issues as yours although not exactly. I also belief that in the near future Microsoft will force us to use ldaps so I am trying to get Cyrus-imap authentication with windows 2022 AD over ldaps.

The only difference from you is that I don’t need ptloader I don’t need groups information. I only need user authentication.

Currently I managed to setup in the Lab a working cyrus-imap which authenticate through Windows 2022 AD over ldap (not secured and I could see the password in plain text)

I imported CA certificate and updated the local thrusted stores.

Executed the following command:

ldapwhoami -ZZ -H ldap://dnsservername -D "CN=xxxxx,CN=Users,DC=xxxxxxx,DC=xxx" -W

and I got the proper reply. Which indicate that the AD is accepting connections on LDAPS port and CA was properly imported.

I belief something is related to configurations in /etc/saslauthd.conf file

Do you have a typical /etc/saslauthd.conf file which permits authentication over LDAPS please?


Thanks

Denis


*Cyrus <https://cyrus.topicbox.com/latest>* / Info / see discussions <https://cyrus.topicbox.com/groups/info> + participants <https://cyrus.topicbox.com/groups/info/members> + delivery options <https://cyrus.topicbox.com/groups/info/subscription> Permalink <https://cyrus.topicbox.com/groups/info/T1c604a219c5fa805-M0b608813b78a6446c700ec36>

------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T1c604a219c5fa805-M5472b106df02b8e737c22eff
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to