(RADIATOR) bad password no matter what config you use

Anton Krall akrall at team.inter.net
Mon Jun 17 13:57:07 CDT 2002


Guys.. Im having problems with a simple radiator configuration.
 
I just installed 3.1 with a simple file.. like this:
 
LogDir          /var/log/radius
DbDir           /usr/local/radiator/etc
# Use a low trace level in production systems. Increase
# it to 4 or 5 for debugging, or use the -trace flag to radiusd
Trace           4
 
# You will probably want to add other Clients to suit your site,
# one for each NAS you want to work with
 
include %D/clients.cfg
include %D/realms.cfg

realms.cfg file:
 
<Realm testing.com>
        AuthByPolicy    ContinueUntilAccept
        RewriteUsername s/^([^@]+).*/$1/
        <AuthBy FILE>
                Filename %D/users
        </AuthBy>
</Realm>

 
users file:
 
akrall  Password="akrall"
        Service-Type = Framed-User,
        Framed-Protocol = PPP,
        Framed-IP-Netmask = 255.255.255.255,
        Framed-Routing = None,
        Framed-MTU = 1500,
        Framed-Compression = Van-Jacobson-TCP-IP

 
Problem is that no matter what you do... I always get a bad pw:
 
[root at prepaid etc]# ../radpwtst -s localhost -secret Inter.net -user
HYPERLINK "mailto:akrall at testing.com"akrall at testing.com -p akrall
-delay_time 5 -noacct -trace
 
result:
 
sending Access-Request...
Packet dump:
*** Sending to 127.0.0.1 port 1645 ....
Code:       Access-Request
Identifier: 13
Authentic:  1234567890123456
Attributes:
        User-Name = "HYPERLINK
"mailto:akrall at testing.com"akrall at testing.com"
        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 = "HYPERLINK
"mailto:\{@D<255"v~<148><23><137><165><161>D<170><243><237>h">{@D<255>v~
<148><23><137><165><161>D<170><243><237>h"
 
Packet dump:
*** Received from 127.0.0.1 port 1645 ....
Code:       Access-Reject
Identifier: 13
Authentic:
R<208><204><16><212>+<243><245><135><161>n<210><192>w<180><149>
Attributes:
        Reply-Message = "Request Denied"

 
Her is what the logs say:
 
*** Received from 127.0.0.1 port 32770 ....
Code:       Access-Request
Identifier: 13
Authentic:  1234567890123456
Attributes:
        User-Name = "HYPERLINK
"mailto:akrall at testing.com"akrall at testing.com"
        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 = "HYPERLINK
"mailto:\{@D<255"v~<148><23><137><165><161>D<170><243><237>h">{@D<255>v~
<148><23><137><165><161>D<170><243><237>h"
 
Mon Jun 17 14:55:14 2002: DEBUG: Handling request with Handler
'Realm=testing.com'
Mon Jun 17 14:55:14 2002: DEBUG: Rewrote user name to akrall
Mon Jun 17 14:55:14 2002: DEBUG:  Deleting session for HYPERLINK
"mailto:akrall at testing.com"akrall at testing.com, 203.63.154.1, 1234
Mon Jun 17 14:55:14 2002: DEBUG: Handling with Radius::AuthFILE: 
Mon Jun 17 14:55:14 2002: DEBUG: Radius::AuthFILE looks for match with
akrall
Mon Jun 17 14:55:14 2002: DEBUG: Radius::AuthFILE REJECT: Bad Password
Mon Jun 17 14:55:14 2002: INFO: Access rejected for akrall: Bad Password
Mon Jun 17 14:55:14 2002: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 32770 ....
Code:       Access-Reject
Identifier: 13
Authentic:  1234567890123456
Attributes:
        Reply-Message = "Request Denied"
 
 
 
Why am I getting the bad pw if everything is ok??
 
Thx for any help guys!!
 
 
 
Saludos
 
Anton Krall
Director de Tecnología
Inter.net México / Panamá
 
Tel; 5241-7609 Directo 
Tel: 5241-7600 Conmutador
Celular: 0445-105-5160 
ICQ: 4979450
email: HYPERLINK "mailto:akrall at team.inter.net"akrall at team.inter.net
web: HYPERLINK "http://www.mx.inter.net/"http://www.mx.inter.net
 
Outside Mexico:
Office: +52(555)241-7609
PBX: +52(555)241-7600
Mobile: +52(555)105-5160
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.370 / Virus Database: 205 - Release Date: 6/5/2002
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20020617/6380d80d/attachment.html>


More information about the radiator mailing list