Question

I am using spring ldap to connect to OpenLdap.

Wondering if there is any way in which we can query all the aliases present inside a particular base? I tried ldaptemplate.search, but it returns only the object inside the base, according to the filter provided, and not the aliases associated with the objects.

Looking forward for the answers.

Was it helpful?

Solution

You have to turn off alias chasing via whatever API you are using. Then the result of the search is the alias objects themselves, not what they refer to.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top