Hi all,

I have written a perl script to turn a list of mac addresses into
entries for a $INCLUDE users.other file.  The syntax of the working
entries in the users file and users.other file are the same.  For
example:

user file

00904b22e0d6 Auth-Type := Local, NAS-Port-Type := Wireless-802.11,
Password=="00904b22e0d6"
        Service-Type = Framed User

users.other file
0002a56e4a86 Auth-Type := Local, NAS-Port-Type := Wireless-802.11,
Password=="0002a56e4a86"
        Service-Type = Framed User
0e0e0e0e0e0e Auth-Type := Local, NAS-Port-Type := Wireless-802.11,
Password=="0e0e0e0e0e0e"
        Service-Type = Framed User

Or looks the same.  But when I start the radius server in debug mode I
get the following message:

usr/local/etc/raddb/users.other[2]: Parse error (reply) for entry
0002a56e4a86: Expected end of line or comma
/usr/local/etc/raddb/users[493]: Could not open included file
/usr/local/etc/raddb/users.other: Numerical result out of range
Errors reading /usr/local/etc/raddb/users
radiusd.conf[862]: files: Module instantiation failed.

I understand this to mean that it finds a problem with the
"Service-Type" entry.  I tried making the users.other file the user file
(suspecting there might be too many entries) but this made no
difference.  I noticed in the documentation that there should be a tab
before the "Service-Type" entry.  Strangely there are spaces used in the
users file (no probs) but I have used tabs in the users.other file.

any help greatly appreciated

thanks

Seosamh



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

Reply via email to