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?
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: