Hi everyone,
Using Freeradius 0.7 and mySQL 3.23.47.
Have spent the last few days configuring the radius server, mysql database
and the php dialup_admin.
I have created a user with password using the dialup_admin webpage -
successful. Password is encrypted.
I then test the user using dialup_admin but it will not authenticate as per
my radius log shows below -
<snip>
Thu Oct 3 15:29:22 2002 : Info: HASH: Reinitializing hash structures and
lists for caching...
Thu Oct 3 15:29:22 2002 : Error: rlm_unix: Username too long in line: #
Thu Oct 3 15:29:22 2002 : Info: HASH: Stored 86 entries from /etc/passwd
Thu Oct 3 15:29:22 2002 : Info: HASH: Stored 37 entries from /etc/group
Thu Oct 3 15:29:22 2002 : Info: rlm_sql: Driver rlm_sql_mysql loaded and
linked
Thu Oct 3 15:29:22 2002 : Info: rlm_sql: Attempting to connect to
root@localhost:/radius
Thu Oct 3 15:29:22 2002 : Info: rlm_sql: Starting connect to MySQL server
for #0
Thu Oct 3 15:29:22 2002 : Info: rlm_sql: Starting connect to MySQL server
for #1
Thu Oct 3 15:29:22 2002 : Info: rlm_sql: Starting connect to MySQL server
for #2
Thu Oct 3 15:29:22 2002 : Info: rlm_sql: Starting connect to MySQL server
for #3
Thu Oct 3 15:29:22 2002 : Info: rlm_sql: Starting connect to MySQL server
for #4
Thu Oct 3 15:29:22 2002 : Info: Listening on IP address *, ports 1812/udp
and 1813/udp, with proxy on 1814/udp.
Thu Oct 3 15:29:22 2002 : Info: Ready to process requests.
Thu Oct 3 15:29:33 2002 : Auth: Login incorrect (rlm_pap: User password not
available): [scott/iT\240\337C\231!\241\336\253\330\265\307\365^Y] (from
client localhost port 0)
<snip>
Does it have something to do with PAP? Is it not using my database for
authentication?
Details of my radiusd.conf file -
authorise {
preprocess
suffix
sql
}
authenticate {
authtype PAP {
pap
}
preacct {
suffix
preprocess
}
accounting {
detail
unix
sql
radutmp
}
session {
radutmp
}
All other files are pretty much standard.
Any help or direction would be greatly appreciated.
Scott Harris
Cairns, Queensland, Australia
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html