I just upgraded from 0.7.1 to 0.8 and am having some trouble understanding some changes in how FreeRadius parses the users file.

/usr/local/sbin/radiusd -d /etc/raddb -x

Starting - reading configuration files ...
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded System
Module: Instantiated unix (unix)
Module: Loaded preprocess
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
Module: Instantiated realm (suffix)
Module: Loaded files
/usr/local/etc/raddb/users[2]: Parse error (reply) for entry evac: Unknown attribute User-Service
Errors reading /usr/local/etc/raddb/users
radiusd.conf[865]: files: Module instantiation failed.

Line 865 in radiusd.conf has the section reguarding the livingston-style users file

# Livingston-style 'users' file
#
files {
usersfile = ${confdir}/users
acctusersfile = ${confdir}/acct_users

# If you want to use the old Cistron 'users' file
# with FreeRADIUS, you should change the next line
# to 'compat = cistron'. You can the copy your 'users'
# file from Cistron.
compat = no
}

Below is the users file format. The first entry was for a user named evac the the "User-Service" attribute was the one freeradius choked on.
username Password == "password"
User-Service = Framed-User,
Framed-Protocol = PPP,
Framed-Routing = None,
Ascend-Assign-IP-Pool = 1,
Ascend-Idle-Limit = 1800,
Ascend-Maximum-Time = 43200,
Ascend-Maximum-Channels = 1

Other then changing all instances of "User-Service" to "Service-Type" is there any other way of making Freeradius accept is attrib? Freeradius 0.7.1 handled this same users file just fine.

Looking over http://www.freeradius.org/rfc/attributes.html - "User-Service" was never listed. I'm wondering how my predacessor who installed this freeradius go this to work.

Suggestions?

--
Rock River Internet Roger Grunkemeyer
202 W. State St, 8th Floor [EMAIL PROTECTED]
Rockford, IL 61101 815-968-9888





- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to