An LDAP library

Hi! Sorry to bother you with such a question but where can i find “ldap_sync.h”? I’ve looked everywhere: OpenLDAP package, OpenLDAP devel package, Novell CLDAP, but it’s nowhere to be found. The closest thing I found was ldap_sync.c, but I can’t compile it, because I am missing some libraries.
Any ideas?

From this Google hit, looks like a very recent release of openldap.

http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/external/bsd/openldap/man/ldap_sync.3

???

On Tue, 19 Aug 2008 09:46:03 GMT
Blooddrunk <Blooddrunk@no-mx.forums.opensuse.org> wrote:

>
> Hi! Sorry to bother you with such a question but where can i find
> “ldap_sync.h”? I’ve looked everywhere: OpenLDAP package, OpenLDAP devel
> package, Novell CLDAP, but it’s nowhere to be found. The closest thing I
> found was ldap_sync.c, but I can’t compile it, because I am missing some
> libraries.
> Any ideas?
>
>

From what I can find, I would consider this a small typo. ldap.h satisfies
all of the references for ldap_sync and others.

I checked openldap versions 2.3.43 and the latest ‘unstable’ 2.4.11 and
openSUSE’s 2.4.9.

With OpenSUSE 11.0 currently using 2.4.9, so we’re not too far from
‘bleeding edge’ on that point.

Replace all references to ‘ldap_sync.h’ to ‘ldap.h’

it’s quite possible it’s an unintentional hold-over from an
earlier version, as it’s not in the three most recent versions.

#include <ldap.h>

Loni


L R Nix
lornix@lornix.com