Hi Louis,

Yes, this was the problem. Perhaps the gui could prevent role and source names containing dots..?

Thank you Louis. I have another issue, which I will send another mail for.

MJ

On 29-9-2015 17:42, Louis Munro wrote:
Just a wild guess here, but try not using dots in role and sources names.

The dot is used as separator in Template Toolkit.
That may be the root of this problem.

Regards,
--
Louis Munro
[email protected] <mailto:[email protected]> :: www.inverse.ca <http://www.inverse.ca>
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)

On Sep 29, 2015, at 11:22 , mourik jan heupink <[email protected] <mailto:[email protected]>> wrote:

Hi,

Opening Config, Network, Switches gives the following error in the admin gui:

"*Error!* An error occured while contacting the server. Please try again later."

In httpd.admin.log:

==> ./httpd.admin.log <==
Sep 29 17:05:19 httpd.admin(3808) ERROR: Caught exception in pfappserver::Controller::Config::Switch->begin "did not find parent for field maastrichtuniversity.nlVlan at /usr/share/perl5/HTML/FormHandler/BuildFields.pm line 239." (pfappserver::PacketFence::Controller::Root::end) Sep 29 17:05:19 httpd.admin(3808) ERROR: Argument "" isn't numeric in subtraction (-) at /usr/local/pf/html/pfappserver/root/config/switch/list.tt line 2.
 (pfappserver::__ANON__)

maastrichtuniversity.nl <http://maastrichtuniversity.nl> is one of my rules for email based authentication. From authentication.conf:

[email rule maastrichtuniversity.nl <http://maastrichtuniversity.nl>]
description=unimaas accounts
match=
action0=set_role=maastrichtuniversity.nl <http://maastrichtuniversity.nl>
action1=set_access_duration=365D
condition0=user_email,ends,maastrichtuniversity.nl <http://maastrichtuniversity.nl>

In switches.conf there is no maastrichtuniversity.nlVlan defined. I don't remember ever putting something there, but for some other authentication sources there IS a Vlan defined in switches.conf.

Since we're talking about inline wifi here, I don't think that any Vlan config for this particular usersource is required.

This is for inline email registration, and we are on 5.3.1. I'm guessing the switches menu stopped working after I defined some additional roles/user sources. (mainly to be able to set different registration durations for different email domains)

Any ideas?

MJ
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected] <mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users



------------------------------------------------------------------------------


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to