[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnu-radius] Is $ a reserved character in User-Name?
From: |
Carlson Per |
Subject: |
[Help-gnu-radius] Is $ a reserved character in User-Name? |
Date: |
Fri, 30 Jul 2004 16:22:51 +0200 |
Hi.
Is $ a reserved character that can't be used in User-Name?
I'm trying to authenticate users trying to enter 'enable-mode' on a
Cisco-router using 'aaa authenticate enable default radius'. The User-Name
sent from the router to the Radius is then $enab15$. When adding this entry
to the raddb/users file, it won't parse.
raddb/users:
$enab15$ Service-Type = Administrative-User, <- This is the 5th line
User-Password = "enable"
NULL
radius# radiusd -mt
Jul 30 16:11:18 Main.info: Starting
Jul 30 16:11:18 Main.info: Terminating the subprocesses
Jul 30 16:11:18 Main.info: Loading configuration files.
Jul 30 16:11:18 Main.info: reading /usr/local/etc/raddb/config
Jul 30 16:11:18 Main.error: /usr/local/etc/raddb/users:5: parse error
Jul 30 16:11:18 Main.error: discarding user `User-Password'
Jul 30 16:11:18 Main.info: /usr/local/etc/raddb/users reloaded.
Jul 30 16:11:18 Main.info: Ready
but when removing the $-characters from the User-Name, it parses
perfectly:
enab15 Service-Type = Administrative-User,
User-Password = "enable"
NULL
radius# radiusd -mt
Jul 30 16:16:33 Main.info: Starting
Jul 30 16:16:33 Main.info: Terminating the subprocesses
Jul 30 16:16:33 Main.info: Loading configuration files.
Jul 30 16:16:33 Main.info: reading /usr/local/etc/raddb/config
Jul 30 16:16:33 Main.info: /usr/local/etc/raddb/users reloaded.
Jul 30 16:16:33 Main.info: Ready
I'm running GNU-Radius v1.2 on FreeBSD 4.7-RELEASE
Per
- [Help-gnu-radius] Is $ a reserved character in User-Name?,
Carlson Per <=