[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldap authentication+squid



Im having problem in ldap authentication for squid, and here I want to use UID and user Password in my ldif file for authentication.
Im using Squid-2.4STABLE2 with OpenLDAP-2.0.18 in Linux 7.1
 
My slapdlog file shows the following when i executed
         ldapsearch command(working OK)
         and next authenticate squid in command line(but only got error  display)
 
Nov 20 17:56:22 ldap slapd[636]: daemon: socket() failed errno=97 (Address
> famil
> y not supported by protocol)
> Nov 20 17:56:22 ldap slapd[638]: slapd starting
> Nov 20 17:57:55 ldap squid[644]: Squid Parent: child process 646 started
> Nov 20 17:59:38 ldap slapd[640]: daemon: conn=0 fd=9 connection from
> IP=127.0.0.
> 1:1034 (IP=0.0.0.0:34049) accepted.
> Nov 20 17:59:38 ldap slapd[656]: conn=0 op=0 BIND dn="" method=128
> Nov 20 17:59:38 ldap slapd[656]: conn=0 op=0 RESULT tag=97 err=0 text=
> Nov 20 17:59:38 ldap slapd[656]: conn=0 op=1 SRCH base="o=usm" scope=2
> filter="(
> userPassword=*)"
> Nov 20 17:59:39 ldap slapd[656]: conn=0 op=1 SEARCH RESULT tag=101 err=0
> text=
> Nov 20 17:59:39 ldap slapd[656]: conn=0 op=2 UNBIND
> Nov 20 17:59:39 ldap slapd[656]: conn=-1 fd=9 closed
> Nov 20 18:02:24 ldap slapd[640]: daemon: conn=1 fd=9 connection from
> IP=127.0.0.
> 1:1035 (IP=0.0.0.0:34049) accepted.
> Nov 20 18:02:24 ldap slapd[657]: conn=1 op=0 BIND dn="UID=LARRY,O=USM"
> method=12
> 8
> Nov 20 18:02:24 ldap slapd[657]: conn=1 op=0 RESULT tag=97 err=49 text=
> Nov 20 18:02:24 ldap slapd[656]: conn=1 op=1 UNBIND
> Nov 20 18:02:24 ldap slapd[656]: conn=-1 fd=9 closed
> Nov 20 18:02:29 ldap slapd[640]: daemon: conn=2 fd=9 connection from
> IP=127.0.0.
> 1:1036 (IP=0.0.0.0:34049) accepted.

 Regards
kavitha