LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-08-2008, 11:53 PM   #1
moochachiro
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
squidguard authen ldap problem?


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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: mail command failed for /var/log/squidguard/squidGuard.log.6 Niceman2005 Linux - Networking 1 01-22-2009 02:24 PM
why squid authen ldap is not work? what i do wrong? (need help) moochachiro Linux - Networking 2 10-26-2007 06:09 AM
squid + ldap or squidguard + ldap or both ?? hackintosh Linux - Server 0 09-18-2007 05:36 AM
Authen in LDAP with samba u4113072 Linux - Networking 1 06-25-2003 10:51 PM
Authen in LDAP with samba and squid u4113072 Linux - Software 0 06-03-2003 02:33 AM


All times are GMT -5. The time now is 02:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration