[SQU] squid_auth_ldap

From: APPANAH Ravi <[email protected]>
Date: Fri, 23 Feb 2001 08:42:17 +0100

Hi !!
  
    Does anybody configure squid with ldap ???
    I haven't got ay response to my problem.
    Thanks in advance...
    
    I got squid-2.3-STABLE4 for a linux mandrake 7.2 system (kernel 2.2.17mdk).
    I successfully install squid in directory /opt/squid.
    I have some trouble while installing squid_auth_ldap module.
    I have installed openldap-2.0.7 (with tls) in directory /opt/openldap.
    LDAP librabries are in /opt/openldap/lib (and configure in /etc/ld.so.conf).

    [root@cerbere squid-2.3.STABLE4]# cd auth_modules/LDAP/
    [root@cerbere LDAP]# make
    gcc -g -o squid_ldap_auth squid_ldap_auth.o -lldap -llber
    /usr/bin/ld: cannot find -lldap
    collect2: ld returned 1 exit status
    make: *** [squid_ldap_auth] Erreur 1
    [root@cerbere LDAP]#

    I modify LIBS = -L/opt/openldap/lib -lldap -llber in Makefile :
    
    [root@cerbere LDAP]# make
    gcc -g -o squid_ldap_auth squid_ldap_auth.o -L/opt/openldap/lib -lldap -llber
    /opt/openldap/lib/libldap.so: undefined reference to `res_query'
    /opt/openldap/lib/libldap.so: undefined reference to `dn_expand'
    collect2: ld returned 1 exit status
    make: *** [squid_ldap_auth] Erreur 1
    [root@cerbere LDAP]#

    Thanks for your help.

    Regards,
    Ravi APPANAH
      -----------------------------------------------------------------------------------------------
      Ravi APPANAH

      E-mail : ravi.appanah@telindus.fr
      Phone : +33 1 41 91 39 00
      GSM : +33 6 20 78 29 63
      Fax : +33 1 41 91 39 99 Consultant S�curit�
      CF6 groupe TELiNDUS
      41, rue des Trois Fontanot
      F-92024 NANTERRE CEDEX
      -----------------------------------------------------------------------------------------------
      For more informations about our products and services, please visit
      our websites (http://www.cf6.fr/ and http://www.telindus.fr/)
      -----------------------------------------------------------------------------------------------

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Feb 23 2001 - 00:38:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:09 MST