On 2014-12-09, at 9:04 , "Nathan, Josh" <[email protected]> wrote:
> Hello, > > I'm trying to authenticate users against a Radius database, but if I add a > condition to the rule, I keep getting this message in the logs along with the > "Sorry!" page: > > httpd.portal(6978) WARN: No role specified or found for pid jnathan (MAC > 00:1d:72:35:1b:15); assume maximum number of registered nodes is reached > (pf::node::is_max_reg_nodes_reached) > > I would like to set it as a regular expression so that if the username ends > with a letter, they have one role, and if they end with a number they have a > different role. > > However, right now even setting it so that if the "username" either > "contains" or "equals" 'jnathan', I get this message, let alone trying to use > a regular expression. > > Any help? How do I get these conditions working? Hi Joshua, Before diving into conditions it helps to make sure the authentication actually succeeds and the source is well configured. Can you post the contents of your conf/authenticaton.conf file (stripped of passwords and such), especially the section that defines the RADIUS source? You also need to check to see what else is in the logs. Clearly your rule was not matched, but that's not enough information to go on. Try defining a catchall rule first. Don't add any conditions. If your rule is still not matched then the problem is not with the rule itself. Regards, -- Louis Munro [email protected] :: www.inverse.ca +1.514.447.4918 x125 :: +1 (866) 353-6153 x125 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
