[squid-users] Trouble installing squid_auth_ldap

From: Carissa Srugis <csrugis@dont-contact.us>
Date: Fri, 26 Nov 2004 10:41:40 -0500

I am having problems installing squid_auth_ldap v2.0.7 onto my FreeDSB
4.10 Release 4 machine. I already have openldap-client-2.1.30 on
there.

At first, the make file couldn't find some of the include files, but
that seemed to be quickly solved by creating symbolic links from the
/usr/local/include directory to the /usr/include diirectory.

Now, I'm still failing out of the make file with the following feedback:

gcc -I ../helpers -c squid_auth_ldap/main.c
In file included from squid_auth_ldap/../helpers/util.h:51,
                 from squid_auth_ldap/main.c:20:
/usr/include/netdb.h:204: warning: useless keyword or type name in
empty declaration
/usr/include/netdb.h:204: warning: empty declaration
gcc -I ../helpers -c squid_auth_ldap/ldap_utils.c
gcc -I ../helpers -c squid_auth_ldap/logging.c
gcc -I ../helpers -c squid_auth_ldap/readconf.c
gcc -I ../helpers -c squid_auth_ldap/options.c
gcc -I ../helpers -c squid_auth_ldap/tools.c
gcc -I ../helpers -c helpers/rfc1738.c
In file included from /usr/include/sys/types.h:48,
                 from /usr/include/sys/time.h:40,
                 from helpers/util.h:44,
                 from helpers/rfc1738.c:44:
/usr/include/sys/inttypes.h:12: warning: useless keyword or type name
in empty declaration
/usr/include/sys/inttypes.h:12: warning: empty declaration
/usr/include/sys/inttypes.h:13: warning: useless keyword or type name
in empty declaration
/usr/include/sys/inttypes.h:13: warning: empty declaration
/usr/include/sys/inttypes.h:14: warning: useless keyword or type name
in empty declaration
/usr/include/sys/inttypes.h:14: warning: empty declaration
In file included from /usr/include/sys/time.h:40,
                 from helpers/util.h:44,
                 from helpers/rfc1738.c:44:
/usr/include/sys/types.h:61: redefinition of `uint16_t'
/usr/include/sys/inttypes.h:17: `uint16_t' previously declared here
/usr/include/sys/types.h:62: redefinition of `uint32_t'
/usr/include/sys/inttypes.h:18: `uint32_t' previously declared here
/usr/include/sys/types.h:63: redefinition of `uint64_t'
/usr/include/sys/inttypes.h:19: `uint64_t' previously declared here
In file included from helpers/util.h:51,
                 from helpers/rfc1738.c:44:
/usr/include/netdb.h:204: warning: useless keyword or type name in
empty declaration
/usr/include/netdb.h:204: warning: empty declaration
*** Error code 1

Stop in /root/squid_auth_ldap-2.0.7.

I have also tried to use ldap_auth v0.2 without success. I get the
following error:

freebsd# ldap_auth -d -b -D cn=admin,o=organization -w password
ldaps://192.168.1.2:636/o=organization
ldap_auth running with debug flag!
This is NOT recommended on production servers

LDAP URL: ldaps://192.168.1.2:636/o=organization
Options: bind dn: cn=admin,o=organization, bind pw: password,
bind/userpass: bind
admin password
ldap_bind_s(3): Can't contact LDAP server
 
I need to be able to authenticate Novell users on a Netware 6.5 server
from squid using secure ldap (port 636). I have used web-based java
programs that are able to connect to and authentication against the
Novell Netware 6.5 server, so I know it works. Any help is greatly
appreciated.

Thanks!
Carissa

*********************************************************
Carissa Srugis
csrugis@gmail.com
Received on Fri Nov 26 2004 - 08:41:42 MST

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