[squid-users] segmentation fault when I did ldapsearch for squid _ldap_group

From: Yong Bong Fong <[email protected]>
Date: Mon, 20 Dec 2004 08:43:19 +0800

Dear all,

   I tried to implement squid_ldap_group.

Problem is when I tried ldapsearch such as this:

>> /usr/lib/squid/squid_ldap_group -b "cn=apple,dc=orange,dc=com" -f
>> "(&(member=%v)(uid=%a)(objectClass=qmailGroup))" -B
>> "cn=apple,dc=orange,dc=com" -F "uid=%s" -D
>> "cn=toby,ou=users,cn=apple,dc=orange,dc=com" -w xxxxx -h 123.456.789.10
>
it says no such command for "-B"

then I removed the "-B" part for the above command to

> /usr/lib/squid/squid_ldap_group -b "cn=apple,dc=orange,dc=com" -f
> "(&(member=%v)(uid=%a)(objectClass=qmailGroup))"

> -D "cn=toby,ou=users,cn=apple,dc=orange,dc=com" -w xxxxx -h
> 123.456.789.10

then entered my username and password, it replied "segmentation fault"

I did a man squid_ldap_group showed that the it does not have the -B -F
options for that version of squid_ldap_group.

without the "-B and -F" options how should I go about implementation the
group authentication?

anyone ..pls help..
thanks in advance,

Regards
Yong
Received on Sun Dec 19 2004 - 17:39:10 MST

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