Hi Howard,

Thanks for your answer. I am new to using OpenLDAP but it was set up by my
colleagues and he said the OpenLDAP version from repo is not well updated.
So, regarding the Persistent Search, The reason I asked is that I am
switching from Classic ActiveMQ to ActiveMQ Artemis. And Artemis has this
setting:

" enableListener. Whether or not to enable a listener that will
automatically receive updates made in the LDAP server and update the
broker's authorization configuration in real-time. The default value is true
."

And In the ActiveMQ Artemis log, I (and also some other cases i found in
google) got this error:
" ERROR [org.apache.activemq.artemis.core.server] AMQ224086: Caught
unexpected exception: javax.naming.OperationNotSupportedException: [LDAP:
error code 12 - critical extension is not recognized]; remaining name
'ou=Destination,ou=ActiveMQ,ou=activemq,dc=test,dc=com' "

This is not the problem with classic  ActiveMQ where I found in their
documentation, saying that OpenLDAP does not support the “persistent
search” feature. That's why I wanted to verify.
https://activemq.apache.org/cached-ldap-authorization-module
[image: grafik.png]

Is there something extra I need to configure on OpenLDAP to have this
feature enabled for such kinds of cases that a client like ActiveMQ Artemis
can register to get live updates from OpenLDAP (instead of having to
restart the service)? If yes, could you send me a link to how to set it up?

I also found this issue regarding implementation of persistent search on
OpenLDAP
https://bugs.openldap.org/show_bug.cgi?id=8983




On Thu, Dec 15, 2022 at 6:08 PM Howard Chu <h...@symas.com> wrote:

> pham lan wrote:
> > Hello,
> >
> > I am new to OpenLDAP. May I ask if Persistent Search is supported in any
> version of OpenLdap Server?
>
> Yes.
>
> > I installed version 2.4.46 from Rocky repo and it does not
> > seem to support persistent search.
>
> OpenLDAP's syncrepl replication protocol has supported persistent searches
> since OpenLDAP 2.2 in 2003.
>
> Still, if you're using OpenLDAP for the first time you should use a newer,
> supported release. 2.4.46 is from 2018,
> and the 2.4 release stream has been deprecated for quite a while now.
>
> --
>   -- Howard Chu
>   CTO, Symas Corp.           http://www.symas.com
>   Director, Highland Sun     http://highlandsun.com/hyc/
>   Chief Architect, OpenLDAP  http://www.openldap.org/project/
>

Reply via email to