Simple use of Huntgroup
Hi there, i running FreeRadius 3.0.4, now i trying to discriminate some access for specific user by groups (huntgroup) For example: /etc/raddb/huntgroups grp001 NAS-IP-Address == x.x.x.x grp002 NAS-IP-Address == y.y.y.y /etc/raddb/users test002 Crypt-Password := "$1$lw0fSZNF$yggOS9C8fjoPpDZSRv6g4." Huntgroup-Name == grp002 Reply-Message = "Hello Test002", test001 Crypt-Password := "$1$Z71rzgee$Z62hAIPIJbcaMDyHtUtKN/" Huntgroup-Name == grp001 Reply-Message = "Hello Test001", So, must to permit test001 only access to grp001 and test002 to grp002 Not working and with "radius -X" and see nothing about huntgroup. I missing enable something? I only see documentation about Huntgroup and SQL Thanks
On Jan 23, 2020, at 9:14 AM, Condor via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
For example:
/etc/raddb/huntgroups
grp001 NAS-IP-Address == x.x.x.x grp002 NAS-IP-Address == y.y.y.y
/etc/raddb/users
test002 Crypt-Password := "$1$lw0fSZNF$yggOS9C8fjoPpDZSRv6g4." Huntgroup-Name == grp002 Reply-Message = "Hello Test002",
That won't work. The hunt group check belongs on the first line, along with Crypt-Password. See "man users" for full documentation.
Not working and with "radius -X" and see nothing about huntgroup.
If you read the full debug output, it will complain that the "Huntgroup-Name" attribute is in the wrong place. Reading the debug output takes time, but 90% of the time the answers you need are in there. Alan DeKok.
participants (2)
-
Alan DeKok -
Condor