1
new Authentication Provider LDAP fail on Linux Ubuntu 24.04
Problem reported by Markus Goessinger - Yesterday at 12:43 AM
Submitted
we have a new blank installation of SmarterMail on Linux 
SmarterMail Version: 9280 (Mai 29, 2025)
Ubuntu 24.04.2 LTS
LDAP Server Windows Domain Controler 2016
when we try to create a new Authentication Provider LDAP
when we fill out the form and click on Continue
we got the error message "The type initializer for 'Ldap' threw an exception."

we test connection to ip address and port 389 from linux shell, it's posible
we installed ldapsearch  and test username and credentials ist okay

no mater when we try wrong ip address or wrong credentials always the same error message.

so just for testing we installed SmarterMail on a Windows server to try the same settings for LDAP it works on Windows , but i still find no way to get it working on Linux.

has anyone LDAP Authentication working on Ubuntu or an other Linux?

1 Reply

Reply to Thread
0
Markus Goessinger Replied
so now i have make a new blank installation of SmarterMail and Linux 
ubuntu-22.04.5-live-server-amd64
SmarterMail Version: 9245

add a new Authentication Provider LDAP is working
import Acounts from Authentication Provider LDAP is working

then i make an Update SmarterMail Version: 9245 to 9280

add a new Authentication Provider LDAP is working
import Acounts from existing and new Authentication Provider LDAP is working

then i make an relese upgrade from Ubunto to 24.04
   New release '24.04.2 LTS' available.
   Run 'do-release-upgrade' to upgrade to it.

add a new Authentication Provider LDAP is NOT working
import Acounts from existing Authentication Provider LDAP is NOT working

so i think its a fakt:
Authentication Provider LDAP is working on Ubuntu 22.04
Authentication Provider LDAP is NOT working on Ubuntu 24.04



Reply to Thread

Enter the verification text