vatesfr / xen-orchestra

The global orchestration solution to manage and backup XCP-ng and XenServer.
https://xen-orchestra.com
Other
741 stars 259 forks source link

fix(xo-server-auth-ldap): do not use syntax "key=value" when key is "DN" #7759

Closed pdonias closed 6 days ago

pdonias commented 1 week ago

See Zammad#25659

Description

A DN is the full path to a LDAP node that uniquely identifies that node. It isn't simply a property of the element. So a filter like DN=... doesn't work. Instead, we need to search the DN itself as the base of the search and grab the root node of that search.

Checklist