hMailServer 6.2.4: Active Directory account pickers in the Control Panel
-
The Control Panel gained a read-only Active Directory browser, which was the last functional-parity item left from the classic Administrator. The whole product is stamped 6.2.4: the server, the Control Panel window header and About page, and the installer all report the same version.
Active Directory account pickers
Services/ActiveDirectoryService.csenumerates every domain in the current forest from the RootDSEdefaultNamingContextand the Partitions container's domain crossRefs, so there is no dependency onSystem.DirectoryServices.ActiveDirectory. A domain's users are searched with a single LDAP-escapedDirectorySearchermatchingsAMAccountName,displayName,mailanduserPrincipalName.- It is built on
System.DirectoryServices, which net8.0-windows resolves from the Windows Desktop shared framework the installer already bundles. On a machine that is not domain-joined it reports the reason instead of throwing. - Account then Directory carries "Browse Active Directory…". The picked account fills
ADDomainandADUsernameand ticks linked to Active Directory. Distribution-list recipients gained "Add from AD…", which multi-selects accounts and imports their e-mail addresses into the list. - Validated end to end against a live domain controller (progressiverobot.local): domain enumeration, the all-users query and the name and e-mail filters all returned the expected results.
Other changes
- A generic
TargetInvocationExceptionfrom the server is now unwrapped and the real cause explained: connect with the server-administrator account, or the server cannot reach its database. That is what produced the misleading "26 settings could not be read" message on the Protocols page over a non-admin connection. - The vendored MariaDB Connector/C client (
libmysql.dlland its auth plugins) is staged into the build output by the server post-build step, so MySQL and MariaDB back ends work out of the box. - The About page carries maintainer and company details.
The Control Panel requires the .NET 8 Desktop Runtime, which the installer bundles and installs silently when missing.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login