External AD: User and PW not accepted

NethServer Version: 8
Module: Mail and SOGO

Hello there,

I just installed NS on a Debian 12. So far I only have installed Mail-Server and SOGO.

LE Certs are obtained. The NS is bound on a MS Server 2019 AD as account provider.

The users are all synchronized BUT I cant login on either Mail or SOGO.

Message is “Wrong Username or Password”. Is there something special regarding the format of User Login or something else ??

Help would be greatly appreciated.

Thx in advance

Thomas

P.S.
Hello there,

after the above mentioned problems I decided to crap the VM with NS and started allover.

New VM on MS HyperV 2019, 4 Cores and 32 GB RAM.

Foundation still Debian 12 BUT this time local LDAP provider. Everything works flawless. I have installed crowdsec, mail, SOGO, Mattermost, IMAPSnyc, Nextcloud, collabora.

Everything is provided with domainname and LE certificates.

It seems that the synchronization with MS AD user accounts doesn´t work as expected. The debian machine points to the dns from MS AD. There are also all zones in MS AD DNS pointing to NS with the full host names.

No problems whatsoever.

I strongly recommend to let NS, even within a MS AD, stand as a standalone LDAP provider with the correct usage in DC DNS.

Then there should be no problems.

I test a while more and give feedback. But so far everything is looking good.

Regards

Thomas

2 Likes

thanks for the follow up!

A follow up to the topic.

So far everything still works flawless.

Right now I am thinking about to setup a full AD also for testing.

We have the job to replace our ERP software to the end of the year. I am thinking about to replace the ad dc MS based through NS8 .

Otherwise I must buy another MS Server 2019 license with CAL´s and so on. I would like to spare my company of the costs. It wouldn´t kill me (generally IT costs money), but if not neccessary then I safe it.

Regards Thomas