Global variables

Franks Andy (RLZ) IT Systems Engineer Andy.Franks at sath.nhs.uk
Fri May 24 11:00:22 CEST 2013


Ah, I forgot about rlm_cache. The primary group will always be the same
strangely enough, so I only need to look it up once.
I'll look into the cache
Thanks
Andy

-----Original Message-----
From:
freeradius-users-bounces+andy.franks=sath.nhs.uk at lists.freeradius.org
[mailto:freeradius-users-bounces+andy.franks=sath.nhs.uk at lists.freeradiu
s.org] On Behalf Of Phil Mayers
Sent: 24 May 2013 08:35
To: freeradius-users at lists.freeradius.org
Subject: Re: Global variables

On 05/23/2013 07:43 PM, Franks Andy (RLZ) IT Systems Engineer wrote:

> Seems a bit excessive to do it each request. I know it's not something

> likely to changegidoften but would like to not have to update itat all

> should it change. We have an "over zealous" AD administrator..

But primary group is per-user, so you have to look it up per-request. 
You do for other groups too; aside from Microsofts irritating schema
decision, this is no different.

You could probably play with rlm_cache to cache either the lookup, or
better yet the higher-level "decision" result, keyed by username.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list