I’ve set up an authenticated proxy server with nethserver (7.9.2009)- the nethserver is joined to our AD.
The proxy server is up and running, installed just by stepping through the gui, clients are authenticating as they should with kerberos.
I installed the filtering components, again through the gui.
One thing to note is filtering didn’t actually work until I manually ran this command - a bug? - I’ve had to run it a couple of times subsequently as I’ve created new categories etc.
/usr/sbin/ufdbConvertDB -d /var/squidGuard/blacklists
(A fatal error would show near the bottom of the ufdbguard logs until the command was run)
I set up a couple of categories, the first one applied correctly, the second one didn’t - on investigation I concluded that it didn’t work for group names with spaces in them - if you look at the old posts above you’ll note it is said that the old manager gui wouldn’t let you pick a group with spaces in the name, but the new manager does (arguably a bug).
/var/log/ufdbguard/ufdbguardd.log reports each time that it tries to update the group lists (every 15 minutes) and the number of lines reported should correspond to the number of users in the group, but groups that have spaces in their names always returned 0 lines.
Both the scripts involved in returning the list of members for the group use commands that only return the first argument (shift and $ARGV) - if the group name has spaces in it, this is treated as multiple arguments, so only the first word is processed (so a group named “Internet Disabled” would be matching against a group simply called “Internet”)
join(" ",@ARGV) steps through the argument array, putting a space between each element, so recreating the whole group name, spaces and all.
I simply substituted in this command.
Will have a go submitting PR now, haven’t actually used github previously.