help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnu-radius] Three days !!


From: persiali
Subject: [Help-gnu-radius] Three days !!
Date: Wed, 24 Jul 2002 10:34:14 +0200

Hi, 

That is going to be 3 days i'm trying to find out what is my problem
with just testing gnu-radius ...
Please if you have any comments, there is my whole configuration : 

raddb 266 #more /etc/raddb/client.conf
server local 127.0.0.1 foobar 1645 1646
source_ip 152.81.9.210
timeout 3
retry 1


raddb 267 #more /etc/raddb/clients
# This is a list of clients which are allowed to make authentication 
# requests.
# Each record consists of two fields:
#       i.  Valid hostname.
#       ii. The shared encryption key for this hostname. 
#
#Client Name            Key
#----------------       -------------------
localhost               foobar


linux 126 #radiusd --version
radiusd: GNU Radius version 0.96 (i686-pc-linux-gnu)
Compilation platform: linux 
Debugging flags: 
Compilation flags: PWD_SHADOW 
Ports in use:
 AUTH: 1645
 ACCT: 1646
Paths:
 configuration directory: /etc/raddb
 logging directory:       /var/log
 accounting directory:    /var/log/radacct
 pidfile:                 /var/run/radiusd.pid

Report bugs to <address@hidden>


raddb 279 #more /etc/raddb/users
# This is the users database.

DEFAULT Auth-Type = SQL,
                Simultaneous-Use = 1    
        Service-Type = Framed-User,
                Framed-Protocol = PPP

f12     Auth-Type = Local,
        Password = "test"

raddb 280 #more /var/log/radius.log 
Jul 23 17:04:53: Main.info: Starting - reading configuration files ...
Jul 23 17:04:53: Main.info: reading /etc/raddb/config
Jul 23 17:04:53: Main.crit: auth bind: Address already in use
Jul 23 17:04:53: Main.crit: auth bind: Address already in use
Jul 23 17:05:18: Main.crit: MASTER: Normal shutdown.
Jul 23 17:05:30: Main.info: Starting - reading configuration files ...
Jul 23 17:05:30: Main.info: reading /etc/raddb/config
Jul 23 17:05:30: Main.info: ready
Jul 23 17:05:30: Main.info: /etc/raddb/users reloaded.
Jul 23 17:05:30: Main.info: Ready to process requests.
Jul 23 17:43:26: Main.crit: MASTER: Normal shutdown.
Jul 23 17:43:31: Main.info: Starting - reading configuration files ...
Jul 23 17:43:31: Main.info: reading /etc/raddb/config
Jul 23 17:43:31: Main.info: ready
Jul 23 17:43:31: Main.info: /etc/raddb/users reloaded.
Jul 23 17:43:31: Main.info: Ready to process requests.


raddb 281 #netstat -ap | grep radius
udp        0      0 *:radius               
*:*                                 27500/radiusd       
udp        0      0 *:radius-acct          
*:*                                 27500/radiusd     


 raddb 285 #more config
# A minimum config file. See config.syntax for explanation of 
# the syntax.
#
option {
        usr2delay 30;
        max-requests 1024;
        # Uncomment and edit these if you need to:
#       log-dir "/var/log";
#       acct-dir "/var/acct";
};

logging {
        channel default {
                file "radius.log";
                print-category yes;
                print-level yes;
        };
        channel info {
                file "radius.info";
                print-pid yes;
        };      
        channel debug {
                file "radius.debug";
        };
        category auth {
                print-auth yes;
                print-failed-pass yes;
        };
        category info {
                channel info;
        };
        category =debug {
                channel debug;
        };
        category * {
                channel default;
        };
};

auth {
        max-requests 127;
        request-cleanup-delay 2;
        detail yes;
        strip-names yes;
        checkrad-assume-logged yes;
};

acct {
        max-requests 127;
        request-cleanup-delay 2;
};

proxy {
        max-requests 127;
        request-cleanup-delay 2;
};



And now my commands : 

raddb 278 #radauth -d /etc/raddb -v -s localhost:foobar f12 test
server 127.0.0.1:1645
send code 1 (RT_AUTHENTICATION_REQUEST)
      send: User-Name = f12
      send: Password = test
      send: NAS-Port-Id = 0
no reply
server 127.0.0.1:1645
send code 1 (RT_AUTHENTICATION_REQUEST)
      send: User-Name = f12
      send: Password = test
      send: NAS-Port-Id = 0
no reply
expect 2
got    0
FAIL


raddb 275 #radsession -v -d /etc/raddb -l f12 -p test -P 1 -s "0001"
--start
NO REPLY
Authentication failed


Thanks for any help !
Eric P



reply via email to

[Prev in Thread] Current Thread [Next in Thread]