[squid-users] ERR is all I got when I use squid_ldap_auth from command line and browser reprompt for login

From: Yong Bong Fong <bfyong@dont-contact.us>
Date: Tue, 07 Dec 2004 14:34:46 +0800

Hello ,

    Anyone knows what are the general cause of a reply of "ERR" when
login from terminal?
Even when I tried to login from browser when authenticated It always
failed and reprompt for login.

I read through 1000 of archives mails but couldn't seek an answer.

_my squid configuration for:_
*auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hour
**auth_param basic program /usr/lib/squid/squid_ldap_auth -b
"cn=root,dc=shinyang,dc=com,dc=my" -D
"cn=bfyong,ou=qmail_users,cn=root,dc=shinyang,dc=com,dc=my" -w xxxxxx
-f "(&(objectclass=person)(cn=%s))" -h 172.16.0.11

*_when I typed:_
* /usr/lib/squid/squid_ldap_auth -b "cn=root,dc=shinyang,dc=com,dc=my"
-D "cn=bfyong,ou=qmail_users,cn=root,dc=shinyang,dc=com,dc=my" -w
xxxxxx -f "(&(objectclass=person)(cn=%s))" -h 172.16.0.11

username password (enter my login info)
ERR

*_When I used ldapsearch:
_# ldapsearch -x -b
"cn=bfyong,ou=qmail_users,cn=root,dc=shinyang,dc=com,dc=my" -h 172.16.0.11
_
results:_
version: 2
 
#
# filter: (objectclass=*)
# requesting: ALL
#
 
# bfyong, qmail_users, root, shinyang, com, my
dn: cn=bfyong,ou=qmail_users,cn=root,dc=shinyang,dc=com,dc=my
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
objectClass: shinyangUser
mailHost: symail.shinyang.com.my
mailQuotaCount: 0
accountStatus: active
mail: bfyong@shinyang.com.my
sn: Yong Bong Fong
uid: bfyong
mailMessageStore: bfyong
deliveryMode: normal
cn: Yong Bong Fong
ou: Shin Shin
mailQuotaSize: 20000000
mailClass: full
userPassword:: e2NyeXB0fWpwUlNtMWRHN2RlR0U=
mailSenderScope: full
mailAlternateAddress: bfyong@shinyang.com.my
 
# search result
search: 2
result: 0 Success
 
# numResponses: 2
# numEntries: 1

When I login from browser it also kept prompting for login.

I couldn't track down the cause of the problem, anyone have similar
problem before can help me with this, I think this is a very general
problem but not sure
why I tried this and that still cannot get it work.

Please help....
million thanks...

regards
Yong
*

**

*
Received on Mon Dec 06 2004 - 23:30:56 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:01 MST