Gaugamon

New Member
Oct 26, 2023
9
0
1
Hello dear PMG community

I'm currently facing a small dilemma and hope you can help me out. I've configured LDAP on Proxmox Mail Gateway 8.1.2 so that our users can access their quarantine emails. As far as I can tell, the LDAP connection to our AD is working because users and groups are being fetched, and login via email address is functional.

However, I've just realized that I can only log in using my email address. I want users to only need to enter their username. Unfortunately, this login method is failing.

Here's my configuration:

Base DN: DC=example,DC=netz
Base DN for Groups: OU=User,DC=example,DC=netz
Email Attribute names: mail
Account Attribute name: sAMAccountName

I'm aware that "Account Attribute name" is supposed to determine how users log in, and "sAMAccountName" should require users to enter their username. However, it seems like this isn't taking effect, and login via email address is still possible.

The only thing my logs show is: pmgdaemon[823]: authentication failure; rhost=::ffff:192.168.x.x user=xx.xx@quarantine msg=ldap login failed

This indicates to me that "sAMAccountName" isn't being recognized, and I'm at a loss for what to do next.

Does anyone happen to have an idea where my mistake might lie?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!