Re: [squid-users] squid_ldap_auth problem after W2003 upgrade

From: Mark Krawec <mark@dont-contact.us>
Date: Mon, 18 Oct 2004 09:08:25 -0800

And you are positively sure that ldapsearch -x using the exact same data
works?

Regards
Henrik

I've tried to make sure I'm running the queries the same aside for syntax
differences. Both queries worked before 2003 upgrade. Now only ldapsearch
works correctly.

Successful ldapsearch query:
ldapsearch -b "DC=scif, DC=com" -D "CN=Squid1 Proxy, OU=FD, OU=Fairfield,
DC=scif, DC=com" -w "password" -H ldaps://fddc02.scif.com:636/ -S
/usr/local/ssl/certs -x "(SamAccountName=Squid1)" cn
version: 2

#
# filter: (SamAccountName=Squid1)
# requesting: cn
#

# Squid1 Proxy, FD, Fairfield, scif, com
dn: CN=Squid1 Proxy,OU=FD,OU=Fairfield,DC=scif,DC=com
cn: Squid1 Proxy

squid_ldap_auth query fails:
echo "Squid1 password" | /usr/local/squid/libexec/squid_ldap_auth -H
ldaps://fddc02.scif.com:636/ -D "CN=Squid1 Proxy, OU=FD, OU=Fairfield,
DC=scif, DC=com" -w "password" -P -b "DC=scif,DC=com" -f "(SamAccountName=Squid1)"
squid_ldap_auth: WARNING, LDAP search error 'Operations error'
ERR

Thanks,

Mark

_______________________________________________________________
Mark Krawec mark@krawecnet.com
"Earth First" (We'll strip mine the other planets later)
Received on Mon Oct 18 2004 - 10:08:33 MDT

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