Re: [squid-users] RE: squid_ldap_auth errors with Solaris 8

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 4 Feb 2004 23:07:37 +0100 (CET)

On Wed, 4 Feb 2004, Lewars, Mitchell (EM, PTL) wrote:

> squid_ldap_auth.c:441: `LDAP_OPT_SUCCESS' undeclared (first use in this
> function)
> squid_ldap_auth.c: In function `checkLDAP':
> squid_ldap_auth.c:499: warning: passing arg 2 of `ldap_simple_bind_s'
> discards qualifiers from pointer target type
> squid_ldap_auth.c:499: warning: passing arg 3 of `ldap_simple_bind_s'
> discards qualifiers from pointer target type
> squid_ldap_auth.c:506: warning: passing arg 2 of `ldap_search_s' discards
> qualifiers from pointer target type
> squid_ldap_auth.c:542: warning: passing arg 3 of `ldap_simple_bind_s'
> discards qualifiers from pointer target type

Looks like the LDAP libraries you are using is substantially different
from the API expected by squid_ldap_auth.

The Squid helpers have been tested with OpenLDAP and Netscape LDAP
libraries. As far as I know the helpers try to follow the draft LDAP C-API
interface and not rely on OpenLDAP specific extensions.

Regards
Henrik
Received on Thu Feb 05 2004 - 00:18:56 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST