Search the web
Sign In
New User? Sign Up
dansguardian · A public mailing list to discuss all aspects of DansGuardian

Group Information

  • Members: 2463
  • Category: Networking
  • Founded: Jan 14, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Using system groups as filter groups (patch)   Topic List   < Prev Topic  |  Next Topic >
Reply < Prev Message  | 
Hi all,

I've worked on a patch to add the functionality to dansguardian to support
system groups for filter groups.

The patch is in several ways different to the one by Oli Comber that can be
found at http://dansguardian.org/?page=extras

Currently in dansguardian there are two configuration options defining the use
of filtergroups:

filtergroups = <number of groups>
filtergroupslist = '<file with mapping username -> filter group>'

The filtergroupslist file contains for all users a mapping to the filtergroup
they belong to.

Instead of defining these filter groups user by user dansguardian could us
system groups that are mapped to a filter group. The patch adds a
configuration option

usefiltersystemgroups=on

If set the content of the file filtergrouplist is read as a list of system
groups. The groups are mapped in sequence to the filter groups. E.g.:

group1 -> filter group 1
group2 -> filter group 2
...

When a user authenticates the groups are checked in sequence if the user is a
member. The index of the first group that matches is return as the number of
the filter group.

The patch can be found at:

http://pastebin.com/me966a4b

In my tests this patch works well and does not break anything as long as the
configuration option usefiltersystemgroups is not set

Do you think it might be possible to add this patch to dansguardian?

If you have any questions or some modifications need to be made, just let me
know.

best regards
Andreas

--
Andreas Büsching
Open Source Software Engineer

Univention GmbH
Linux for your business
Mary-Somerville-Str.1
28359 Bremen
Tel. : +49 421 22232-0
Fax : +49 421 22232-99

<buesching@...>
http://www.univention.de

Geschäftsführer: Peter H. Ganten
HRB 20755 Amtsgericht Bremen
Steuer-Nr.: 71-597-02876


[Non-text portions of this message have been removed]




Wed Sep 23, 2009 7:36 pm

buesching@...
Send Email Send Email

< Prev Message  | 
Expand Messages Author Sort by Date

Hi all, I've worked on a patch to add the functionality to dansguardian to support system groups for filter groups. The patch is in several ways different to...
Andreas Büsching
buesching@... Send Email
Sep 23, 2009
7:36 pm

... Just to quibble: While this patch definitely adds administrator convenience, it's not so clear that it adds functionality that didn't already exist in some...
Chuck
ckollars9 Offline Send Email
Sep 23, 2009
9:06 pm

Hi, ... A solution like that we've already implemented that is bound to the management system that is part of our linux enterprise distribution (UCS, ...
Andreas Büsching
buesching@... Send Email
Sep 24, 2009
7:39 am

Hi, Is there any chance that this patch is going to be integrated in dansguardian? Any (core) dansguardian developer around who likes to give me an answer? ;-)...
Andreas Büsching
buesching@... Send Email
Jan 6, 2011
11:08 am

... Hi Andreas, I haven't actually done a code review on the patch, but the concept is certainly a useful one and has cropped up on this list before. In ...
Philip Allison
phil.smoothwall Offline Send Email
Jan 6, 2011
11:19 am

Hi Philip, ... I'm very sorry for my late reply, but I've almost the some problems like you ... girl friend, hobbies and other projects :-) If you or some one...
Andreas Büsching
buesching@... Send Email
Apr 19, 2011
6:42 am

Hi, I know it's old news, but I just read that there is a new maintainer :-) So I think I should repeat my question: Are there any plans to integrate my patch...
Andreas Büsching
buesching@... Send Email
Nov 4, 2011
8:29 am
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help