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

flowlive

New Member
Sep 28, 2021
3
0
1
46
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!