Hi
On 19/07/07, Cliff Cole [EMAIL PROTECTED] wrote:
Hello all.
Here is my issue. This is very weird and would only affect one NAS.
I'm not sure freeradius is capable of this. I want a username that
comes in to check for an @domainname. If the domainname is there I
want it to be stripped
Thanks for the reply. I'm new to free radius and have been
overwhelmed with documentation the past few days. Let me explain in
some logic and maybe I can make some sense as to what I'm trying to
do.
User authentication comes from NAS A
IF the username does not have @domain.com and NAS = NAS A
Once again. I am backwards on my wording, I am so sorry. This should
be correct.
IF the username does have @domain.com and NAS = NAS A
THEN continue with username as is
IF the username does not have @domain.com and NAS = NAS A
THEN append the @domain.com
I have been trying the hints file.
Use regular expressions:
http://wiki.freeradius.org/Operators
Check for @ or that it doesn't end with @domain.com or whatever you
fancy.
Ivan Kalik
Kalik Informatika ISP
Dana 19/7/2007, Cliff Cole [EMAIL PROTECTED] piše:
Once again. I am backwards on my wording, I am so sorry. This should
Hello all.
Here is my issue. This is very weird and would only affect one NAS.
I'm not sure freeradius is capable of this. I want a username that
comes in to check for an @domainname. If the domainname is there I
want it to be stripped and added back later. If the domainname is not
there I'd
Quoting Christopher Carver [EMAIL PROTECTED]:
Quoting Michael Mitchell [EMAIL PROTECTED]:
Hi Chris,
Christopher Carver wrote:
Thanks for the reply, Kevin. You got me on the right track, but I still
don't
quite have it right. It seems as though the users file can only
Quoting Kevin Bonner [EMAIL PROTECTED]:
On Monday 13 November 2006 22:24, Christopher Carver wrote:
Hello,
How do I rewrite the value of the User-Name attribute based on
Called-Station-Id? I need to do a series of these logical decisions and
replace the username with
Hi Chris,
Christopher Carver wrote:
Thanks for the reply, Kevin. You got me on the right track, but I still don't
quite have it right. It seems as though the users file can only manipulate
Kevin's solution uses the hints file, not the users file. You'll need to
enable the preprocess
On Thursday 16 November 2006 04:56, Christopher Carver wrote:
Quoting Kevin Bonner [EMAIL PROTECTED]:
Not a crazy question at all. We used a hints file entry like:
...
It seems as though the users file can only manipulate reply A/V pairs.
Correct. The hints file can manipulate the request
Quoting Michael Mitchell [EMAIL PROTECTED]:
Hi Chris,
Christopher Carver wrote:
Thanks for the reply, Kevin. You got me on the right track, but I still
don't
quite have it right. It seems as though the users file can only manipulate
Kevin's solution uses the hints file, not the
Christopher Carver wrote:
Hello,
How do I rewrite the value of the User-Name attribute based on
Called-Station-Id? I need to do a series of these logical decisions and
replace the username with username@some-isp.com based on what the value of
Called-Station-Id is.
hmm that is a tricky one!
On Monday 13 November 2006 22:24, Christopher Carver wrote:
Hello,
How do I rewrite the value of the User-Name attribute based on
Called-Station-Id? I need to do a series of these logical decisions and
replace the username with username@some-isp.com based on what the value
of
Hello,
How do I rewrite the value of the User-Name attribute based on
Called-Station-Id? I need to do a series of these logical decisions and
replace the username with username@some-isp.com based on what the value of
Called-Station-Id is.
rlm_attr_rewrite seems the obvious choice, but I can't
I used to think that setting Fall-Through = Yes achieves exactly that
task
without modifying any code. For example, I have an entry
DEFAULT NAS-IP-Address == w.x.y.z
NAS-Identifier := vpn,
Fall-Through = Yes
and I believe it _does_ fall-through.
I thought that
Hi,
INTERMEC sends usernames (MAC
address) as 00-00-00-00-00-00 and the Cisco sends them like
... Can the usernames be rewritten when they are of one format
well, I don't know if there are more elegant ways to do this, but if all else
fails you could set up an entry in the hints
DEFAULT Client-IP-Address == 158.64.1.155,
User-Name =~ ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)
User-Name := `%{1}%{2}.%{3}%{4}.%{5}%{6}`
This is exactly what I needed:
DEFAULT User-Name =~ ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)
User-Name :=
Hi!
After getting this to work I decided that I would like to alter the format
of Called-Station-Id and Calling-Station-Id as well. It did not take long
to see that only the first matching DEFAULT entry in hints is matched. I
accomplished my goal by modifying the rlm_preprocess.c code to
I have FreeRADIUS 1.0.1 running successfully with an INTERMEC
accesss point. We also have a Cisco access point and would like
both to use the same RADIUS server. INTERMEC sends usernames (MAC
address) as 00-00-00-00-00-00 and the Cisco sends them like
... Can the usernames be rewritten
18 matches
Mail list logo