Hello Rosario, Can you run /usr/local/pf/addons/pf-maint.pl and restart packetfence and retry ?
Regards Fabrice Le 2015-02-06 06:45, Rosario Ippolito a écrit : > Hi all, > I have updated PacketFence to 4.6 version. In the 4.5 version I had > setup a Radius authentication with flat file, Users, and I have added > the authentication source from the Web Interface in the Configuration > -> Sources -> Add Source, and it worked fine, so I added the Rule to > the Radius source and I can manage them from there. After updating I > can't add anymore a Radius Source, Web Interface says > > "Error! An error occured while contacting the server. Please try again > later." > > But, I have the configuration of the past Radius in the > authentication.conf file : > > #[packetfence] > #description=Authenticate against the local RADIUS server > #secret=testing123 > #port=1812 > #type=RADIUS > #host=192.168.1.5 > > #[packetfence rule Staff] > #description=Staff Vlan > #match=any > #action0=set_role=Staff > #action1=set_unreg_date=2015-01-30 > #condition0=username,equals,robib > #condition1=username,equals,NicZ > > #[packetfence rule Student] > #description=Student Vlan > #match=all > #action0=set_role=Student > #action1=set_access_duration=1D > > [local] > description=Local Users > type=SQL > > [file1] > description=Legacy Source > path=/usr/local/pf/conf/admin.conf > type=Htpasswd > > [file1 rule admins] > description=All admins > match=all > action0=set_access_level=ALL > > [sms] > description=SMS-based registration > sms_carriers=100056,100057,100061,100058,100059,100060,100062,100063,100071,100064,100116,100066,100117,100112,100067,100065,100068,100069,100070,100118,100115,100072,100073,100074,100075,100076,100077,100085,100086,100080,100079,100081,100083,100082,100084,100087,100088,100111,100089,100090,100091,100092,100093,100094,100095,100096,100098,100097,100099,100100,100101,100113,100102,100103,100104,100106,100105,100107,100108,100109,100114,100110,100078 > type=SMS > create_local_account=no > > [sms rule catchall] > description= > match=all > action0=set_role=guest > action1=set_access_duration=1D > > [email] > description=Email-based registration > email_activation_timeout=10m > type=Email > allow_localdomain=yes > create_local_account=no > > [email rule catchall] > description= > match=all > action0=set_role=guest > action1=set_access_duration=1D > > [sponsor] > description=Sponsor-based registration > type=SponsorEmail > allow_localdomain=yes > create_local_account=no > > [sponsor rule catchall] > description= > match=all > action0=set_role=guest > action1=set_access_duration=1D > > [null] > description=Null Source > type=Null > email_required=no > > if I uncomment the old Radius section, the "packetfence" source of the > Radius appear, and it works fine, but when i try to acces to it the > same alert is show > > "Error! An error occured while contacting the server. Please try again > later." > > Nothing about this is reported in the httpd.admin.log file.. > there may be problems with the old configuration, once I have done the > update? > > Thanks to everybody in advance, > Kind regards, > > Rosario Ippolito > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > PacketFence-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/packetfence-users -- Fabrice Durand [email protected] :: +1.514.447.4918 (x135) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
0xF78F957E.asc
Description: application/pgp-keys
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
