problem with "#" in username
Marcin Jessa
lists at yazzy.org
Thu Jun 9 20:45:16 CEST 2005
I bet this is database specific.
Run radius in debug mode and see what is shown by the User-Name attribute.
Try to change sql query in postgresql.conf if radius accepts correct username.
Cheers,
Marcin
On Thu, 9 Jun 2005 20:30:03 +0200 (CEST)
Christian Seitz <chris at in-berlin.de> wrote:
> 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
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list