-
From: Jose Guevarra [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 19, 2004 2:31 AM
Subject: RE: setting User-Name to 'modified' mac address
Ok Posix expressions are supported here then shouldn't putting parenthases
around the hex characters give me groups %{1}...%{6}?
I do
Jose Guevarra [EMAIL PROTECTED] wrote:
Perl supports \w in regular expressions. Posix expressions (which
the libraries from your system the server uses) do not support \w.
how do I tell which 'libraries' are being used hence the supported regex
syntax/capabilities?
Your system uses
Hmmm,
I've been been trying to use regex to get the 12 hex characters in the
Calling-Station-Id but, I must be doing something wrong.
In my hints file i have
DEFAULT Calling-Station-Id =~
(\w\w)\-(\w\w)\-(\w\w)\-(\w\w)\-(\w\w)\-(\w\w)
User-Name := `%{0}`
This should set the User
Jose Guevarra [EMAIL PROTECTED] wrote:
In my hints file i have
DEFAULT Calling-Station-Id =~ (\w\w)\-(\w\w)\-(\w\w)\-(\w\w)\-(\w\w)\-(\w\w)
User-Name := `%{0}`
This should set the User Name to the hex characters in the mac address
or 'something' at least
Or something...
And
} = 4f-40-47
%{4} = 40-47-b4
%{5} = 47-b4
%{6} = b4
Is my regex wrong or what?
Thanks,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Monday, October 18, 2004 11:40 AM
To: [EMAIL PROTECTED]
Subject: Re: setting User-Name to 'modified' mac
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jose
Guevarra
Sent: Monday, October 18, 2004 4:31 PM
To: [EMAIL PROTECTED]
Subject: RE: setting User-Name to 'modified' mac address
Ok Posix expressions are supported here then shouldn't putting parenthases
around the hex characters give me groups %{1
Jose Guevarra [EMAIL PROTECTED] wrote:
I have freeradius authenticating mac addresses listed in a MySQL
database. It works! But, the mac address passed by the client(hp 2650)
is in the form 00-00-00-00-00-00. I set the 'user name' to the 'calling
station id' in the 'hints' file like so
Hi,
I have freeradius authenticating mac addresses listed in a MySQL
database. It works! But, the mac address passed by the client(hp 2650)
is in the form 00-00-00-00-00-00. I set the 'user name' to the 'calling
station id' in the 'hints' file like so
User-Name := %i
Is it possible to filter
8 matches
Mail list logo