Re: [squid-users] compiling LDAP authentcator with DS5.2 SDK\

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 24 Nov 2003 11:03:19 +0100 (CET)

Try replacing LDAP_OPT_SUCCESS with 0

The LDAP_OPT_SUCCESS return value seems to be an OpenLDAP extension not
documented in the Internet draft LDAP C-API document.

This applies to both squid_ldap_auth and squid_ldap_group.

Regards
Henrik

On Mon, 24 Nov 2003, Brett Clifford wrote:

> Hi All,
>
> We are trying to compile the basic LDAP authenticator for squid against
> the SunOne Directory Server 5.2 SDK but seem to have a problem with an
> undefined symbol
>
> (Sun WorkShop 6 update 2 C 5.3 2001/05/15)
> compile errors for squid LDAP authenticator follow
> ===================================================
> source='squid_ldap_auth.c' object='squid_ldap_auth.o' libtool=no \
> depfile='.deps/squid_ldap_auth.Po' tmpdepfile='.deps/squid_ldap_auth.TPo'
> \
> depmode=none /bin/sh ../../../cfgaux/depcomp \
> cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I/usr/include
> -I/usr/ds/v5.2/plugins/slapd/slapi/include -I../../../include -g -c
> `test -f squid_ldap_auth.c || echo './'`squid_ldap_auth.c
> "squid_ldap_auth.c", line 441: undefined symbol: LDAP_OPT_SUCCESS
> cc: acomp failed for squid_ldap_auth.c
> *** Error code 2
> make: Fatal error: Command failed for target `squid_ldap_auth.o'
>
>
> I checked the ldap.h files and could not find LDAP_OPT_SUCCESS as
> stated in the compile output.
>
>
> Has anyone got some squid_ldap authenticator code which will compile with
> the DS 5.2 SDK or any help with compiling the current squid ldap
> authenticator against DS 5.2 SDK
>
> Any help would be greatly appreciated
>
> Thanks
>
>
> Brett Clifford
> TI Resources
> University of Tasmania
>
>
Received on Mon Nov 24 2003 - 03:03:26 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:33 MST