LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-26-2012, 09:40 AM   #1
bachawiss
Member
 
Registered: May 2012
Posts: 34

Rep: Reputation: Disabled
error in squidguard


Hi i am using squidguard,with squid and openldap to filter url with the ldap usernames
so this is the config file for squidguard
Quote:
src rt4 {
ldapusersearch ldap://127.0.0.1/cn=rt4,ou=groups,dc=example,dc=com?memberUid?sub?(&(objectclass=posixGroup)(memberUid=%s))}
src rt5 { ldapusersearch ldap://127.0.0.1/cn=rt5,ou=groups,dc=example,dc=com?memberUid?sub?(&(objectclass=posixGroup)(memberUid=%s)) }

acl {
rt4 {pass all
redirect http://localhost/cgi-bin/squidGuard-...lass=%t&url=%u
}
rt5 {
pass none
redirect http://localhost/cgi-bin/squidGuard-...lass=%t&url=%u
}
default {
pass none
redirect http://localhost/cgi-bin/squidGuard-...lass=%t&url=%u
}
 
Old 05-26-2012, 09:42 AM   #2
bachawiss
Member
 
Registered: May 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
the problem is in the log file
squidguard block all the url that i access,the ldapusearch do not work correctly
Quote:
2012-05-26 07:17:55 [7124] squidGuard 1.4 started (1338041875.373)
2012-05-26 07:17:55 [7124] squidGuard ready for requests (1338041875.374)
2012-05-26 07:17:55 [7125] New setting: dbhome: /usr/local/squidGuard/db
2012-05-26 07:17:55 [7125] New setting: logdir: /usr/local/squidGuard/log
2012-05-26 07:17:55 [7125] New setting: ldapbinddn: cn=admin, dc=example, dc=com
2012-05-26 07:17:55 [7125] New setting: ldapbindpass: achraf
2012-05-26 07:17:55 [7125] New setting: ldapcachetime: 300
2012-05-26 07:17:55 [7125] squidGuard 1.4 started (1338041875.381)
2012-05-26 07:17:55 [7125] squidGuard ready for requests (1338041875.382)
2012-05-26 07:18:15 [7121] (squidGuard): ldap_simple_bind_s failed: Protocol error
2012-05-26 07:18:15 [7121] Added LDAP source: user-2
2012-05-26 07:18:15 [7121] (squidGuard): ldap_simple_bind_s failed: Protocol error
2012-05-26 07:18:15 [7121] Added LDAP source: user-2
2012-05-26 07:18:36 [7121] (squidGuard): ldap_simple_bind_s failed: Protocol error
2012-05-26 07:18:36 [7121] Added LDAP source: user-1
2012-05-26 07:18:36 [7121] (squidGuard): ldap_simple_bind_s failed: Protocol error
2012-05-26 07:18:36 [7121] Added LDAP source: user-1
2012-05-26 07:27:55 [7121] (squidGuard): ldap_simple_bind_s failed: Protocol error
2012-05-26 07:27:55 [7121] Added LDAP source: user-1
2012-05-26 07:27:55 [7121] (squidGuard): ldap_simple_bind_s failed: Protocol error
2012-05-26 07:27:55 [7121] Added LDAP source: user-1
 
  


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
SquidGuard: include some config file in squidGuard.conf toure32 Linux - Server 1 04-12-2011 02:10 PM
[SOLVED] Error compiling squidguard-1.4 mago Slackware 2 03-27-2011 11:07 AM
error: mail command failed for /var/log/squidguard/squidGuard.log.6 Niceman2005 Linux - Networking 1 01-22-2009 01:24 PM
squidGuard mpbraj Linux - Software 2 03-27-2007 07:48 AM
Squidguard Error zahra79 Linux - Networking 0 05-08-2005 04:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:03 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
Open Source Consulting | Domain Registration