cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: LDAP

From: Guenter Knauf <eflash_at_gmx.net>
Date: Fri, 24 Aug 2007 03:04:52 +0200

Hi Patrick,
> I don't know what string you want to test, but maybe there is a way to
> rewrite the test using an integer value that is related to your target
> string ???
no, I dont think so;
I wanted to test for the LDAP_VENDOR_NAME to determine the used LDAP SDK:

#define LDAP_VENDOR_NAME "Novell"
#define LDAP_VENDOR_NAME "OpenLDAP"
#define LDAP_VENDOR_NAME "mozilla.org"
#define LDAP_VENDOR_NAME "Iplanet A Sun|Netscape Alliance"
#define LDAP_VENDOR_NAME "Microsoft Corporation."

greetz, Guen.
Received on 2007-08-24