Hi,
I use freeradius.0.7.1with anthentication and billing in mysql.
In sql.conf i put this variable:
sql_user_name = %{Stripped-User-Name:-%{User-Name:-none}}
But when i try to authenticate with [EMAIL PROTECTED] it queries in mysql
for [EMAIL PROTECTED] and not only login.
If I put
26, 2002 10:30 AM
Subject: Stripped-User-Name
Hi,
I use freeradius.0.7.1with anthentication and billing in mysql.
In sql.conf i put this variable:
sql_user_name = %{Stripped-User-Name:-%{User-Name:-none}}
But when i try to authenticate with [EMAIL PROTECTED] it queries in mysql
for [EMAIL
If you setup a hint for example:
DEFAULT Suffix = "@somedomain.com"", Strip-User-Name = Yes
Hint = SMDM
Then there will be a stripped user name
And if in your sql.conf you say here:
# ^^^ --That doesn't work
because someone screwed up decode_attribute()
sql_user_name = "
Message -
From:
Joe Maimon
To: [EMAIL PROTECTED]
Sent: Tuesday, February 26, 2002 5:27
AM
Subject: Re: stripped-user-name
woes
If you setup a hint for example:
DEFAULT Suffix = "@somedomain.com"", Strip-User-Name = Yes
Hint = SMDM
Then there wil
Vector [EMAIL PROTECTED] wrote:
All other tables empty. Justing testuser everything is fine. Using
[EMAIL PROTECTED] fails. Must there be a realm for stripped-user-name
to work properly? I would have thought it would strip everything after and
including the @ symbol even without a realm
Vector [EMAIL PROTECTED] wrote:
since I'm not proxying to another server, I set it to no. BUT it sounds
like if you want to *anything* with realms at all then proxy_requests must
be 'yes' even if you aren't really sending them to another server.
Yes. Using the 'realms' file requires you
- Original Message -
From: Alan DeKok [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 26, 2002 10:53 AM
Subject: Re: stripped-user-name woes
Vector [EMAIL PROTECTED] wrote:
since I'm not proxying to another server, I set it to no. BUT it sounds
like if you want to *anything
, 2002 2:43 PM
Subject: Re: stripped-user-name woes
Vector [EMAIL PROTECTED] wrote:
Thank you all...you've been mostly helpful. I turned proxying on, and
my
realm in the realms file started working for usernames with the realm
tacked on to them. I then added NULL to the realms file
Hello list
Using FreeRADIUS Version 0.3, for host i686-pc-linux-gnu
with mysql version 3.23.44
I cannot seem to get the stripped-user-name (username w/o @domain) when
authenticating username@domain
I have tried adding a realm and suffix definition but it does not seem to
work.
Does anyone have