dear all,
I try to implement the squidguard with squid proxy server, but in squid I use LDAP to store and authen user.
In LDAP structure it like below
Basd DN
|
|-Group (organizational unit ou=group)
| |-group1 (GroupOfUniqueNames cn=group1)
| |-group2 (GroupOfUniqueNames cn=group2)
|-user (organizational unit ou=group)
|-user1 (inetOrgPerson cn=user1)
|-user2 (inetOrgPerson cn=user2)
so Is it work if I use same group with source of squidguard?
"
src group1 {
ldapusersearch ldap://<ldap host>/cn=group1,ou=Group,dc=test,dc=com?cn?sub?(&(objectclass=GroupOfUniqueNames)(cn=%s))}
src group2 {
ldapusersearch ldap://<ldap host>/cn=group2,ou=Group,dc=test,dc=com?cn?sub?(&(objectclass=GroupOfUniqueNames)(cn=%s))}
"
because I saw at
http://www.squidguard.org/Doc/authentication.html
and they use
"
ldapbinddn cn=root, dc=example, dc=com
ldapbindpass myultrasecretpassword
# ldap cache time in seconds
ldapcachetime 300
src my_users {
ldapusersearch ldap://ldap.example.com/cn=squidguardusers,ou=groups,dc=example,dc=com?memberUid?sub?(&(objectclass=posixGroup)(memberUid=%s ))
}
"
If any body used to do as same as me, please tell me my config is work,isn't it.
thanks all