Ryan Moreton
2004-08-18 13:24:32 UTC
Hi all,
I want to create a group with a Cisco AV Pair privilege level of seven and
another group with a privilege level of 15 within the users file.
I want the same users to be included in both groups and determine the
privilege level by the huntgroup file depending on the IP address of the NAS
server.
I've created a superuser login, which works fine, but it doesn't recognise
any user in the groups I've created. Can somebody tell me what I've done
wrong?
Many thanks in advance!
Ryan
Users File
DEFAULT Group == "Read-Access"
Cisco-AVPair == 'shell:priv-lvl=7',
User-Name = user1,
User-Name = user2
DEFAULT Group == "Full-Access"
Cisco-AVPair == 'shell:priv-lvl=15',
User-Name = user1,
User-Name = user2
user1 Auth-Type := Local, User-Password == "user1"
Service-Type = Framed-User,
Framed-Protocol = None
user2 Auth-Type := Local, User-Password == "user2"
Service-Type = Framed-User,
Framed-Protocol = None
superuser Auth-Type := Local, User-Password == "superuser"
Service-Type = Framed-User,
Cisco-AVPair = 'shell:priv-lvl=15',
Framed-Protocol = None
Huntgroup File
test1 NAS-IP-Address == 10.10.11.14
User-Name = superuser,
Group = Read-Access
test2 NAS-IP-Address == 10.10.11.15
User-Name = superuser,
Group = Full-Access
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I want to create a group with a Cisco AV Pair privilege level of seven and
another group with a privilege level of 15 within the users file.
I want the same users to be included in both groups and determine the
privilege level by the huntgroup file depending on the IP address of the NAS
server.
I've created a superuser login, which works fine, but it doesn't recognise
any user in the groups I've created. Can somebody tell me what I've done
wrong?
Many thanks in advance!
Ryan
Users File
DEFAULT Group == "Read-Access"
Cisco-AVPair == 'shell:priv-lvl=7',
User-Name = user1,
User-Name = user2
DEFAULT Group == "Full-Access"
Cisco-AVPair == 'shell:priv-lvl=15',
User-Name = user1,
User-Name = user2
user1 Auth-Type := Local, User-Password == "user1"
Service-Type = Framed-User,
Framed-Protocol = None
user2 Auth-Type := Local, User-Password == "user2"
Service-Type = Framed-User,
Framed-Protocol = None
superuser Auth-Type := Local, User-Password == "superuser"
Service-Type = Framed-User,
Cisco-AVPair = 'shell:priv-lvl=15',
Framed-Protocol = None
Huntgroup File
test1 NAS-IP-Address == 10.10.11.14
User-Name = superuser,
Group = Read-Access
test2 NAS-IP-Address == 10.10.11.15
User-Name = superuser,
Group = Full-Access
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html