I've been doing some simple queries and so far things work. However, I would like to do a join between two objects. Does LDAP support joins like SQL does? How would an example join look like in a query? Do I have to execute multiple queries instead?
The equivalent functionality you're looking for in LDAP is achieved using the Deref control. It is not called a JOIN.
https://datatracker.ietf.org/doc/html/draft-masarati-ldap-deref-00
As noted here https://www.ietf.org/mail-archive/web/ldapext/current/msg02210.html it is implemented in at least OpenLDAP and 389DS so it is already multi-vendor, with multi-implementation interoperability.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With