ldap config(UI) - escaping comma in bind user DN, possible?

flowlive

New Member
Sep 28, 2021
3
0
1
45
Hi,

i try to configure ldap authentication for a newly deployed proxmox cluster. Now i have to use my companies AD-User to bind to ldap (which works with ldapsearch and other tested tools). The DN is of the form: CN=Admin-Surname, Name,OU=... ...DC=de

In Microsoft AD it is escaped with a "\" so the dn shows as "CN=Admin-Surname\, Name,OU....". But sadly, the proxmox UI doesnt seem to validate a \ escaping, so it shows the error "bind_dn: value does not match the regex pattern."

QUESTION: Is there any escape character to use here, to escape the "," in the DN for the bind user? Is it planned to be implemented? Is there a workaround, other than "dont use commas in a DN" ;-) maybe directly edit a config file, where the configuration is saved?

Thank you, proxmox community - in advance

flowlive
 
QUESTION: Is there any escape character to use here, to escape the "," in the DN for the bind user? Is it planned to be implemented? Is there a workaround, other than "dont use commas in a DN" ;-) maybe directly edit a config file, where the configuration is saved?
no sadly this is not possible at the moment, but please open a bug here: https://bugzilla.proxmox.com
 
Thank you! I found, there already is a bugreport on this on bugzilla: Bug 3748 - LDAP AD bind_dn regex

I hope, escaping of comma and whitespaces will be implemented, soon.

Thank you for clarification!
 

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!