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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top