Old Users File won't Load on 3.x
Norman Zhang
norman.zhang at gmail.com
Wed May 18 23:34:36 CEST 2016
I ported the old Users 2.x file over to 3.x, but getting the following
error. I'm thinking it's \" is causing issues. Did version 3.x change the
way to include " " in the string?
Thanks,
Norman
May 18 16:49:49 server01 radiusd[29811]: reading pairlist file
/etc/raddb/mods-config/files/authorize
May 18 16:49:49 server01 radiusd[29811]:
/etc/raddb/mods-config/files/authorize[20]: Parse error (reply) for entry
DEFAULT: Expected end of ...or comma
May 18 16:49:49 server01 radiusd[29811]: Failed reading
/etc/raddb/mods-config/files/authorize
May 18 16:49:49 server01 radiusd[29811]: /etc/raddb/mods-enabled/files[9]:
Instantiation failed for module "files"
#
# The rest of this file contains the several DEFAULT entries.
# DEFAULT entries match with all login names.
# Note that DEFAULT entries can also Fall-Through (see first entry).
# A name-value pair from a DEFAULT entry will _NEVER_ override
# an already existing name-value pair.
#
#
# First setup all accounts to be checked against the UNIX /etc/passwd.
# (Unless a password was already given earlier in this file).
#
DEFAULT Group == users-ro, Auth-Type = System
Service-Type = NAS-Prompt-User,
cisco-avpair := "shell:priv-lvl=7"
DEFAULT Group == users-rw, Auth-Type = System
Service-Type = NAS-Prompt-User,
cisco-avpair := "shell:roles*\"network-admin vdc-admin\"",
cisco-avpair += "shell:priv-lvl=15"
DEFAULT Group == usersb-ro, Auth-Type = System
Service-Type = NAS-Prompt-User,
cisco-avpair := "shell:roles=usersb"
More information about the Freeradius-Users
mailing list