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

RE: windows and ldap c++ development



Greg,

You'll need to build the OpenLDAP client libraries first to get started.
You might want to grab 2.1.25 instead of 2.2.4 and try building those.  The
MSVC projects are no longer being included in the 2.2.x releases because
they were broken.  They still exist in 2.1.25 though, and I've been able to
successfully use them to build the LDAP C client libraries recently using
MSVC++ 7.  As an alternative, you can also try to go the MinGW route;
however it appears that at the moment there are some issues building
OpenLDAP under MinGW that haven't been resolved.

Once you get the libraries built, you should be able to easily write the
code necessary to provide the functionality you need.

Jason

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Greg Locke
Sent: Wednesday, January 14, 2004 6:09 PM
To: ldaplist
Subject: windows and ldap c++ development

I have been given the assignment off adding LDAP authentication of users to
a program
running under windows 98. I am developing using microsoft visual c++ 6.0. I
have downloaded and unzipped openldap-2.2.4, but I see this is meant to be
built into a unix environment. I only want to add user and password searches
to my program, and all the libraries, headers etc seem to be already
present,
just some of the names and paths are different. (e.g. ldap_types.h.in
instead of ldap_types_h). Am I going to be able to do a build under 98, or
is there a way I can access the routines I need without doing this. I have
very little experience with LDAP, so apologise if my question has been
posted before, but any help, or pointing to appropriate sources would be
much appreciated.

Greg