Hi Alan, Some users are in the "users" file and some in LDAP. I'm looking for assigning a realm to users in the users file or if I can assign a realm to a particular LDAP group. Regards, Deepansha Gaur ________________________________ From: Freeradius-Users <freeradius-users-bounces+dgaur=ualberta.ca@lists.freeradius.org> on behalf of Alan DeKok <aland@deployingradius.com> Sent: Wednesday, May 29, 2024 5:35 PM To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Re: Assign user to a realm. On May 29, 2024, at 5:45 PM, Deepansha Gaur <dgaur@ualberta.ca> wrote:
I am trying to assign VLANs to different realms, and only a few users to be part of a given realm. E.g.: user1 and user2 are part of @staff and should be assigned VLAN 123 user3 and user4 are part of @student and should be assigned 98 If a user is not part of a realm, he should be denied.
Could you please help me on how I can assign a user to a realm? Thanks for your help.
That depend on where your users are stored. LDAP? SQL? "users" file? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html