Hello,

Following is my config. and the DEBUG output, the user I am authenticating is in
"/etc/shadow" and not in the "users.shadow", I authenticated the first time using

        #perl radiuspwtst -nostop -user firas -password <password>

and the second time

        #perl radiuspwtst -nostop -nas_ip_address 203.63.154.2 -user firas -password
<password>

and in both times access was accepted. The same happens when I authenticate a user in
"/etc/shadow" and "users.shadow".


================== Config. File ========================

# $Id: simple.cfg,v 1.3 2000/02/15 07:07:54 mikem Exp $

Foreground
LogStdout
LogDir          .
DbDir           .
# User a lower trace level in production systems:
Trace           4

# You will probably want to change this to suit your site.
<Client DEFAULT>
        Secret  mysecret
        DupInterval 0
</Client>

# configure AuthBy UNIX with Identifier for later use
<AuthBy UNIX>
        Identifier check_shadow
        Filename /etc/shadow
</AuthBy>

# configure AuthBy UNIX with Identifier for later use
<AuthBy UNIX>
        Identifier check_coolpass
        Filename /etc/coolpass
</AuthBy>

# configure AuthBy FILE with Identifier for later use
<AuthBy FILE>
        Identifier check_shadow_sim_use
        DefaultSimultaneousUse 1
        Filename /etc/users.shadow
</AuthBy>

# configure Realms

<Realm DEFAULT>
        AuthBy check_shadow_sim_use
        AcctLogFileName ./%c/detail
</Realm>

<Realm cool>
        RewriteUsername s/^([^@]+).*/$1/
        AuthBy check_coolpass
        AcctLogFileName ./cooldetail
        MaxSessions 1
</Realm>

==================== End Config File =======================

and the DEBUG output was :

==================== DEBUG Output ======================
======================================================
Tue Oct 10 09:55:23 2000: DEBUG: Reading group file /etc/group
Tue Oct 10 09:55:23 2000: DEBUG: Reading group file /etc/group
Tue Oct 10 09:55:23 2000: DEBUG: Reading users file /etc/users.shadow
This Radiator license will expire on 2000-12-01
This Radiator license will stop operating after 1000 requests
To purchase an unlimited full source version of Radiator, see
http://www.open.com.au/radiator/ordering.html

Tue Oct 10 09:55:25 2000: INFO: Server started: Radiator 2.16.3 on amman-server3 (DEMO)

====== First Access Request Output =======================

Tue Oct 10 09:56:55 2000: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 51575 ....
Code:       Access-Request
Identifier: 174
Authentic:  1234567890123456
Attributes:
        User-Name = "firas"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.1
        NAS-Port = 1234
        NAS-Port-Type = Async
        User-Password = "<159><226>-<204><220>e=<246><188>8<9><160><216>}x<153>"

Tue Oct 10 09:56:55 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Tue Oct 10 09:56:55 2000: DEBUG:  Deleting session for firas, 203.63.154.1, 1234
Tue Oct 10 09:56:55 2000: DEBUG: Handling with Radius::AuthFILE
Tue Oct 10 09:56:55 2000: DEBUG: Radius::AuthFILE looks for match with firas
Tue Oct 10 09:56:55 2000: DEBUG: Radius::AuthFILE looks for match with DEFAULT
Tue Oct 10 09:56:55 2000: DEBUG: Handling with Radius::AuthUNIX
Tue Oct 10 09:56:55 2000: DEBUG: Radius::AuthUNIX looks for match with firas
Tue Oct 10 09:56:55 2000: DEBUG: Radius::AuthUNIX ACCEPT:
Tue Oct 10 09:56:55 2000: DEBUG: Radius::AuthFILE ACCEPT:
Tue Oct 10 09:56:55 2000: DEBUG: Access accepted for firas
Tue Oct 10 09:56:55 2000: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 51575 ....
Code:       Access-Accept
Identifier: 174
Authentic:  1234567890123456
Attributes:

Tue Oct 10 09:56:55 2000: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 51575 ....
Code:       Accounting-Request
Identifier: 175
Authentic:  <184><242><244><255><167><177><175><230><219><249><0><14><177>G<156><179>
Attributes:
        User-Name = "firas"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.1
        NAS-Port = 1234
        NAS-Port-Type = Async
        Acct-Session-Id = "00001234"
        Acct-Status-Type = Start

Tue Oct 10 09:56:55 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Tue Oct 10 09:56:56 2000: DEBUG:  Adding session for firas, 203.63.154.1, 1234
Tue Oct 10 09:56:56 2000: DEBUG: Handling with Radius::AuthFILE
Tue Oct 10 09:56:56 2000: DEBUG: Accounting accepted
Tue Oct 10 09:56:56 2000: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 51575 ....
Code:       Accounting-Response
Identifier: 175
Authentic:  <184><242><244><255><167><177><175><230><219><249><0><14><177>G<156><179>
Attributes:

===========Second Access Request Output  ==========

Tue Oct 10 09:58:04 2000: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 51606 ....
Code:       Access-Request
Identifier: 243
Authentic:  1234567890123456
Attributes:
        User-Name = "firas"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.2
        NAS-Port = 1234
        NAS-Port-Type = Async
        User-Password = "<159><226>-<204><220>e=<246><188>8<9><160><216>}x<153>"

Tue Oct 10 09:58:04 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Tue Oct 10 09:58:04 2000: DEBUG:  Deleting session for firas, 203.63.154.2, 1234
Tue Oct 10 09:58:04 2000: DEBUG: Handling with Radius::AuthFILE
Tue Oct 10 09:58:04 2000: DEBUG: Radius::AuthFILE looks for match with firas
Tue Oct 10 09:58:04 2000: DEBUG: Radius::AuthFILE looks for match with DEFAULT
Tue Oct 10 09:58:04 2000: DEBUG: Handling with Radius::AuthUNIX
Tue Oct 10 09:58:04 2000: DEBUG: Radius::AuthUNIX looks for match with firas
Tue Oct 10 09:58:04 2000: DEBUG: Radius::AuthUNIX ACCEPT:
Tue Oct 10 09:58:04 2000: DEBUG: Radius::AuthFILE ACCEPT:
Tue Oct 10 09:58:04 2000: DEBUG: Access accepted for firas
Tue Oct 10 09:58:04 2000: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 51606 ....
Code:       Access-Accept
Identifier: 243
Authentic:  1234567890123456
Attributes:

Tue Oct 10 09:58:04 2000: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 51606 ....
Code:       Accounting-Request
Identifier: 244
Authentic:  <25>[<0><236><198><23><201>H#E<193>/<190><5><5>0
Attributes:
        User-Name = "firas"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.2
        NAS-Port = 1234
        NAS-Port-Type = Async
        Acct-Session-Id = "00001234"
        Acct-Status-Type = Start

Tue Oct 10 09:58:04 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Tue Oct 10 09:58:04 2000: DEBUG:  Adding session for firas, 203.63.154.2, 1234
Tue Oct 10 09:58:04 2000: DEBUG: Handling with Radius::AuthFILE
Tue Oct 10 09:58:04 2000: DEBUG: Accounting accepted
Tue Oct 10 09:58:04 2000: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 51606 ....
Code:       Accounting-Response
Identifier: 244
Authentic:  <25>[<0><236><198><23><201>H#E<193>/<190><5><5>0
Attributes:


============== End DEBUG Output =========================
======================================================


Regards
Firas Emsaytif
System Administrator
Global One Communications (Jordan) Ltd.
Tel (962) 6 5624777
Fax (962) 6 5697111

Get A Life Online With Baladna http://www.baladna.com.jo



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to