problem with "#" in username
keb at pa.net
Thu Jun 9 21:12:49 CEST 2005
On Thursday 09 June 2005 14:30, Christian Seitz wrote:
> 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?
See safe-characters in postgresql.conf. Search the list archives for more
info, as this has been talked about many times before.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the Freeradius-Users