[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How to use ldapsearch -Esync ?



--On Monday, March 23, 2015 9:45 AM -0400 Thomas Cort <linuxgeek@gmail.com> wrote:


 I'm writing a script that acts on changes in LDAP.


I've abandoned this idea. The ldapsearch utility doesn't decode SyncInfo
messages which provide valuable information. Instead, it simply prints
"SyncInfo Received". This is worse than printing nothing at all because
it causes my LDIF parser to choke.


I think either the slapd-perl or slapd-shell backends are better suited
to my needs than tailing the output of ldapsearch -Esync/rp

I think there are a number of potential options you could use...

python-ldap (python)
perl-ldap (perl)
UnboundID SDK (Java)
org.apache.directory.api (Java)

etc.

--Quanah

--

Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration