I am trying to get Radiator to log bad passwords.   Here is the .cfg
file entry:

# Set this to the directory where your logfile and details file are to go
LogDir /var/log/radius

PasswordLogFileName /var/log/radius/passwords


WHen I try to log in I get:

Tue Jun 15 15:56:49 1999: DEBUG: Handling request with Handler 'Realm='
Tue Jun 15 15:56:49 1999: DEBUG: Rewrote user name to chrism
Tue Jun 15 15:56:49 1999: DEBUG: Handling with Radius::AuthUNIX
Tue Jun 15 15:56:49 1999: DEBUG: Radius::AuthUNIX looks for match with chrism
Tue Jun 15 15:56:49 1999: DEBUG: Radius::AuthUNIX REJECT: Bad Encrypted-Password
Tue Jun 15 15:56:49 1999: INFO: Access rejected for chrism: Bad Encrypted-Password
Tue Jun 15 15:56:49 1999: DEBUG: Packet dump:


I think I am getting rejected because of some problem reading the
shadow passwords file with this realm profile (see anything?):

<Realm>
        # turn into lowercase
        RewriteUsername tr/A-Z/a-z/
        AuthByPolicy ContinueWhileAccept
        <AuthBy UNIX>
                Identifier System
                Filename /etc/shadow
        </AuthBy>
        <AuthBy DBFILE>
                Filename %D/users
        </AuthBy>
        # Log accounting to the detail file in LogDir
        AcctLogFileName %L/detail
</Realm>

However, I expected to see a bad passwords file get created to log the
password into.  After all, if I get "Bad Encrypted-Password" I would
expect to see the list :)

Any ideas?

Thanks,
Chris

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to