That worked! Thank you! 

-----Original Message-----
From: Olivier Bilodeau [mailto:[email protected]] 
Sent: Wednesday, August 24, 2011 1:07 PM
To: [email protected]
Subject: Re: [Packetfence-users] More backslash issues


> I will do that.
> As a quick fix, would it be difficult to change the person id source 
> from User-name to Stripped-User-name?

pf::radius is extensible in the same way as pf::vlan. Copy the
_parseRequest method from lib/pf/radius.pm into lib/pf/radius/custom.pm
then modify:

my $user_name = $radius_request->{'User-Name'};

into

my $user_name = $radius_request->{'Stripped-User-Name'};

and that should do the trick.
--
Olivier Bilodeau
[email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)

------------------------------------------------------------------------
------
EMC VNX: the world's simplest storage, starting under $10K The only
unified storage solution that offers unified management Up to 160% more
powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to