How to add users into group
Hi I was checking the option how to add users into groups. The ideas is to have different groups with Cisco AV pair and other parameters, and users that belongs to those groups. I was not able to find such an option, since huntgroups offers the group of the NAS clients. Like this: user1 Cleartext-Password := "user1" // should belong somwhow to the group1 Group1 Service-Type = Framed-User, Framed-Protocol = PPP, cisco-avpair = "group1;" Many thanks
On Dec 10, 2015, at 9:59 AM, <dorje2007@seznam.cz> <dorje2007@seznam.cz> wrote:
I was checking the option how to add users into groups.
You can use Unix groups, LDAP groups, or see "man rlm_passwd", which has examples of creating server-side groups.
Like this:
user1 Cleartext-Password := "user1" // should belong somwhow to the group1
Group1 Service-Type = Framed-User,
No. See the documentation for the "users" file. The "key" is the User-Name, not anything else. Alan DeKok.
Thanks for the answer. I cannot use Unix group or LDAP group, instead local users stored in the freeradius. to create system groups is not needed, i'm looking the way to put x users to y group and to that group set the attributes. Can i do it via SQL ? Thanks ---------- Původní zpráva ---------- Od: Alan DeKok <aland@deployingradius.com> Komu: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Datum: 10. 12. 2015 17:08:46 Předmět: Re: How to add users into group "On Dec 10, 2015, at 9:59 AM, <dorje2007@seznam.cz> <dorje2007@seznam.cz> wrote:
I was checking the option how to add users into groups.
You can use Unix groups, LDAP groups, or see "man rlm_passwd", which has examples of creating server-side groups.
Like this:
user1 Cleartext-Password := "user1" // should belong somwhow to the group1
Group1 Service-Type = Framed-User,
No. See the documentation for the "users" file. The "key" is the User-Name, not anything else. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users. html"
On Dec 10, 2015, at 11:25 AM, <dorje2007@seznam.cz> <dorje2007@seznam.cz> wrote:
Thanks for the answer. I cannot use Unix group or LDAP group, instead local users stored in the freeradius.
Then use rlm_passwd as I suggested. There is documentation on how to create local groups in RADIUS. Read it. Then, use "unlang" to check for the group membership. Don't use the "users" file. Alan DeKok.
participants (2)
-
Alan DeKok -
dorje2007@seznam.cz