]> git.proxmox.com Git - proxmox.git/commit
ldap: add method for retrieving root DSE attributes
authorChristoph Heiss <c.heiss@proxmox.com>
Fri, 12 Jan 2024 16:15:57 +0000 (17:15 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 25 Mar 2024 16:03:27 +0000 (17:03 +0100)
commit72afba8b5bac16c0f469a23701e8b9b0b66c4b9c
tree60c3b637dc96d7a07daec0cc91d1ab13d7e48e96
parent84fbfb22ecf158e08c529a86f52ad7933054734d
ldap: add method for retrieving root DSE attributes

The root DSE holds common attributes about the LDAP server itself.
Needed to e.g. support Active Directory-based LDAP servers to retrieve
the base DN from the server itself, based on an valid bind.

See also RFC 4512, Section 5.1 [0] for more information about this
special object.

[0] https://www.rfc-editor.org/rfc/rfc4512#section-5.1

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
proxmox-ldap/src/lib.rs
proxmox-ldap/tests/assets/glauth.cfg
proxmox-ldap/tests/glauth.rs