Cheers for your reply Jason.
I had the default email and sms sources in there too, although I don't use 
them. I've commented them out, and moved the radius source to the top of the 
file, but I still see the same thing in the packetfence log.

If needs be I can use ldap for this, but I think it would match my needs more 
if I could pull this from the radius username, so that I could separate eduroam 
visitors from our internal staff.

Cheers,
Andi

-----Original Message-----
From: Jason Frisvold [mailto:[email protected]] 
Sent: 13 August 2013 16:40
To: [email protected]
Subject: Re: [PacketFence-users] Assigning role based on radius username

Morris, Andi wrote:
> My authentication.conf looks like:
> 
> [PF_Radius]
> 
> I'm trying to get any username beginning with 'sm' to be given the 
> staff role.

I had a problem with the authentication sources that ended up being the order 
in which they were listed in authentication.conf.  Is PF_Radius the only source 
you have, or do you have the default Email and SMS sources in there as well?  
If so, try moving the PF_Radius source up to the top of the authentication.conf 
file.

> Cheers,
> 
> Andi


--
---------------------------
Jason 'XenoPhage' Frisvold
[email protected]
---------------------------

"Any sufficiently advanced magic is indistinguishable from technology.\"
- Niven's Inverse of Clarke's Third Law

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to