Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Ret

Pages: [1]
1
Other modules / Endless login popups from Proxy
« on: November 09, 2021, 10:49:01 pm »
I've been using Zentyal 2.2 for a long time  but now I'm preparing to migrate to 7.0
I've installed 7.0 but I'm experiencing problems with proxy module:

I need to use a filter profile that lets a group of users surf only to specific sites. So I add those domains in a list with their " allow" rules. I also enable the checkbox "Block not listed domains and URLs".
The problem is that all borwsers keep on asking for login credentials. (Same issue experienced by this users: https://forum.zentyal.org/index.php?topic=22446.0 )

I think I've found the solution.
 According to Squid Wiki: https://wiki.squid-cache.org/action/show/Features/Authentication?action=show&redirect=SquidFaq%2FProxyAuthentication
we could use the "all"  hack in squid.conf. That is, we should add "all" at the end of the deny ACL

excerpt from original  squid.conf
Code: [Select]
http_access allow  authorized grp~MYGROUP fltr2~df~dmn1
http_access deny  authorized grp~MYGROUP

fixed squid.conf
Code: [Select]
http_access allow  authorized grp~MYGROUP fltr2~df~dmn1
http_access deny  authorized grp~MYGROUP all

With this last line squid accepts login credentials from browsers and let users surf to the allowed domains and deny all others. There are no more endless login popups.

Developers: do you think you could add this fix (or a proper one) ?
Thank you!



2
Installation and Upgrades / Error restoring Config Backup
« on: October 27, 2021, 03:28:55 pm »
I'm trying to restore a configuration backup on my up-to-date Zentyal 7.0  but I get the error:
Code: [Select]
root command ln /var/lib/samba/private//sam.ldb.d/DC*FORESTDNSZONES* /var/lib/samba/bind-dns//dns/sam.ldb.d/ failed.
Error output: ln: target '/var/lib/samba/bind-dns//dns/sam.ldb.d/' is not a directory: No such file or directory Command output: . Exit value: 1

I think the error is that there are 2 backslashes in the file string. Maybe the problem is in Samba.pm file maybe in the declaration of the constant?

I couldn't find an answer online.

3
Installation and Upgrades / Execute custom code on event?
« on: May 09, 2012, 11:13:24 pm »
I wonder if it's possible execute custom code (eg shell script) when an Event takes place.
Maybe have a new dispatcher or something.
Actually, I want to run some code when my internet goes down. (The code would access my router's web admin page)
Any help?

4
I'm trying to use HTTP proxy module to authorize and filter users internet navigation. After adding users and groups to the system I define a filter profile. When I try to bind that filter profile with a group in "Groups' policies" I get the error: "An internal error related to a template has occurred. This is a bug, relevant information can be found in the logs."

Output of /var/log/zentyal/zentyal.log
Code: [Select]
2012/05/02 19:52:16 ERROR> ClientRawBase.pm:209 EBox::CGI::ClientRawBase::__ANON__ - Not a HASH reference at /usr/share/perl5/EBox/Squid/Model/GroupPolicyBase.pm line 114, <GEN0> line 2019.

Stack:
  [/usr/share/perl5/EBox/Squid/Model/GroupPolicyBase.pm:114]
  [/usr/share/perl5/EBox/Types/Select.pm:151]
  [/usr/share/zentyal/templates/ajax/setter/selectSetter.mas:25]
  [/usr/share/zentyal/templates/ajax/typeRowLayout.mas:21]
  [/usr/share/zentyal/templates/ajax/modelViewer.mas:326]
  [/usr/share/zentyal/templates/ajax/modelViewer.mas:226]
  [/usr/share/zentyal/templates/ajax/modelViewer.mas:261]
  [<anonymous component>:174]
  [/usr/share/zentyal/templates/ajax/modelViewer.mas:161]
  [/usr/share/zentyal/templates/ajax/modelViewer.mas:33]

I've installed Zentyal 2.3 (64bits) from its own CD and also from PPA into a clean Ubuntu 12.04 installation and upgraded all packages. In both systems I get the same result.
Do you know how to solve this situation? any help will be appreciated! ;)

Pages: [1]