(RADIATOR) Username
Hugh Irvine
hugh at open.com.au
Thu May 15 17:51:00 CDT 2003
Hello Tom -
I have just tested this here with Radiator 3.6:
Fri May 16 08:47:01 2003: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 57874 ....
Code: Access-Request
Identifier: 1
Authentic: 1234567890123456
Attributes:
User-Name = "mikem at open.com.au"
Service-Type = Framed-User
NAS-IP-Address = 203.63.154.1
NAS-Port = 1234
Called-Station-Id = "123456789"
Calling-Station-Id = "987654321"
NAS-Port-Type = Async
User-Password =
"<159><249>:<201><175>\<4><246><188>8<9><160><216>}x<153>"
Fri May 16 08:47:01 2003: DEBUG: Handling request with Handler ''
Fri May 16 08:47:01 2003: DEBUG: Rewrote user name to mikem
Fri May 16 08:47:01 2003: DEBUG: Deleting session for
mikem at open.com.au, 203.63.154.1, 1234
Fri May 16 08:47:01 2003: DEBUG: Handling with AuthINTERNAL:
Fri May 16 08:47:01 2003: DEBUG: Access accepted for mikem
Fri May 16 08:47:01 2003: WARNING: No such attribute PoolHint
Fri May 16 08:47:01 2003: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 57874 ....
Code: Access-Accept
Identifier: 1
Authentic: 1234567890123456
Attributes:
PoolHint = toto
User-Name = "mikem at open.com.au"
Using this configuration (both with and without the RewriteUsername):
<Handler>
RewriteUsername s/\@open.com.au//
<AuthBy INTERNAL>
DefaultResult Accept
AddToReply PoolHint = toto, \
User-Name = %u
</AuthBy>
</Handler>
Can you send me a copy of your configuration file and a trace 4 debug
showing what is happening?
regards
Hugh
On Friday, Apr 18, 2003, at 18:30 Australia/Melbourne, Tom Rixom wrote:
> Hello,
>
> I am trying to use the AddToReply User-Name = %u option so I can reply
> the full username but
> I get an empty string. If I use %U (Capital) it does work but I need
> the domain name as well.
>
> Thanks,
>
> Tom Rixom
>
> Alfa & Ariss
> Network Security Solutions
> www.alfa-ariss.com
>
> Lansinkesweg 4-226
> 7553 AE Hengelo Ov
> PO Box 960-35
> 7550 AZ Hengelo Ov
> The Netherlands
>
> Tel: +31 (0)74 2555 636
> E-mail: tom.rixom at alfa-ariss.com
>
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>
NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list