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