PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001744PacketFenceconfigurationpublic2013-10-30 16:022013-11-15 15:47
ReporterXen0Phage 
Assigned Tofrancis 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformLinuxOSRHEL / CentOSOS Version6
Product Version4.0.6-2 
Target VersionFixed in Version4.1.0 
Summary0001744: Unable to add new rule to existing authentication source via the GUI
DescriptionAfter adding a new rule to an existing authentication source, the new rule is apparently not saved. Add the new rule and then go back into the authentication source. Rule is not there.

This occurs whether you save just the new rule, or if you also save the authentication source itself.

I am unable to find any errors in the logs indicating a problem. On the contrary, I see this :

Oct 30 15:56:12 httpd.admin(0) DEBUG: Database statements not prepared, preparing... (pf::db::db_query_execute)
Oct 30 15:56:12 httpd.admin(0) DEBUG: Preparing pf::nodecategory database queries (pf::nodecategory::nodecategory_db_prepare)
Oct 30 15:56:12 httpd.admin(0) DEBUG: function pf::db::get_db_handle is calling db_connect (pf::db::db_connect)
Oct 30 15:56:12 httpd.admin(0) DEBUG: checking handle (pf::db::db_connect)
Oct 30 15:56:12 httpd.admin(0) DEBUG: (Re)Connecting to MySQL (thread id: 0) (pf::db::db_connect)
Oct 30 15:56:12 httpd.admin(0) DEBUG: connected (pf::db::db_connect)
Oct 30 15:56:12 httpd.admin(0) DEBUG: Writing source local (pf::Authentication::Source::SQLSource) (pf::authentication::writeAuthenticationConfigFile)
Oct 30 15:56:12 httpd.admin(0) DEBUG: Writing source set_role (pf::Authentication::Source::LDAPSource) (pf::authentication::writeAuthenticationConfigFile)
Oct 30 15:56:12 httpd.admin(0) DEBUG: Writing source file1 (pf::Authentication::Source::HtpasswdSource) (pf::authentication::writeAuthenticationConfigFile)

Which seems to indicate that the write succeeded. In this example. I'm specifically making changes to the set_role source.
Steps To Reproduce1) Go to configuration->sources
2) Choose an existing authentication source
3) Click the "Add Rule" button
4) Enter the details for the new rule
5) Click Save
TagsNo tags attached.
fixed in git revision
fixed in mtn revisionf0660655caeb7205555bc22c9dd88b8aadbc8910
Attached Files

- Relationships

-  Notes
(0003470)
Xen0Phage (reporter)
2013-10-31 12:39

Louis suggested restarting memcached. Restarting that appears to have resolved this problem for the time being. I'm able to add/remove rules now.
(0003471)
erSitzt (reporter)
2013-11-01 10:50

Same here, restarting memcached resolved the problem temporarily.
(0003473)
francis (administrator)
2013-11-15 15:47

There's a patch available here for 4.0.6-2 :

https://github.com/inverse-inc/packetfence/commit/5d4bfc2883e6f66bb1938a79c3e677c9c53c3854 [^]

- Issue History
Date Modified Username Field Change
2013-10-30 16:02 Xen0Phage New Issue
2013-10-31 12:39 Xen0Phage Note Added: 0003470
2013-11-01 10:50 erSitzt Note Added: 0003471
2013-11-15 15:47 francis fixed in mtn revision => f0660655caeb7205555bc22c9dd88b8aadbc8910
2013-11-15 15:47 francis Note Added: 0003473
2013-11-15 15:47 francis Status new => resolved
2013-11-15 15:47 francis Fixed in Version => 4.1.0
2013-11-15 15:47 francis Resolution open => fixed
2013-11-15 15:47 francis Assigned To => francis


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker