Re: [squid-users] problem with squid_ldap_group

From: CyberSoul <cybersoul_at_gmx.com>
Date: Thu, 26 Jan 2012 12:45:41 +0400

Hello, still, I solved this problem as follows:
I created new group 'test_inet' in the container 'Users' & enter in it users: 'ldapreader','testproxyad1'
Command 'squid_ldap_group' is now work with next syntaxis:

/usr/lib/squid/squid_ldap_group -d -v 3 -b "dc=kng,dc=local" -f \
'(&(cn=%v)(memberOf=cn=a%,cn=Users,dc=kng,dc=local))' -D ldapreader_at_kng.local \
-w 12345678 -h 192.168.4.100

Input in console:
ldapreader test_inet
Connected OK
group filter <...> searchbase <...>
OK

So, now there is another problem:
when i input describe of user, 'squid_ldap_group' working correct,
but when i input login, output of command is 'ERR'.
Example: In Active Directory user 'test_proxy_ad_1' has login 'testproxyad1'.
/usr/lib/squid/squid_ldap_group -d -v 3 -b "dc=kng,dc=local" -f \
'(&(cn=%v)(memberOf=cn=a%,cn=Users,dc=kng,dc=local))' -D ldapreader_at_kng.local \
-w 12345678 -h 192.168.4.100

Input in console:
testproxyad1 test_inet
Connected OK
...
ERR
test_proxy_ad_1 test_inet
Connected OK
...
OK

The new question is follow: how to do that 'squid_ldap_group' check login of user, not describe?
Will waiting for response.

Best wishes,
      Paul

-- 
С уважением,
 CyberSoul                          mailto:cybersoul_at_gmx.com
Received on Thu Jan 26 2012 - 08:46:27 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 26 2012 - 12:00:03 MST