problem with "#" in username

Christian Seitz chris at in-berlin.de
Thu Jun 9 20:30:03 CEST 2005


Hi,

I want to replace our old radius server with freeradius and it seems that 
freeradius has all the features we need - great work! We are using 
freeradius 1.0.2-4 from debian unstable with a PostgreSQL database for 
users and logging.

My problem is that some of our usernames contain a "#", for example 
"test#in at realm". Freeradius receives this username and logs it to 
radius.log, but it logs "Auth: Login incorrect". When I turn on statement 
logging in PostgreSQL, I can see, that freeradius sends a select query to 
PostgreSQL with "test=23in at realm" as the username instead of 
"test#in at realm".

When I change the username to "test=23in at realm" in the database table, I 
get "Auth: Login OK", although the client still sends "test#in at realm" as 
the username and freeradius logs "test#in at realm" in radius.log.

Is this a bug in freeradius?

Chris
-- 
Christian Seitz <chris at in-berlin.de>     http://www.in-berlin.de/
Individual Network Berlin e.V.

PGP Fingerprint: A9 17 03 0D 36 AB 07 4E  D0 1E C3 8E 3F B0 66 9A



More information about the Freeradius-Users mailing list