richard lucassen <[EMAIL PROTECTED]> wrote:
> AFAIUI this variable is not available and I have to create it myself.
No... the Realm attribute is created by the realm module.
> I
> succeeded to run a shell-script that outputs the realm on stdout when a
> user authenticates. But I can't get it clear from the doc how to put
> this output in %{Realm}. According to the docs I have to have a line
> like this:
>
> Attribute-Name = `{%exec:/path/to/program args}`
Ok... but I don't see why you'd run a script to do that.
> So I should have something like this:
>
> Realm = `{%exec:/usr/local/scripts/realmgrep}`
>
> But where do I have to put this line? If I put this line in the
> instanciate or authorize, radiusd complains:
Yes... because those parts of the configuration file take module
names, not attributes.
> so I think this line has to be put somewhere else. I tried the ldap
> configuration section, but without success.
I have no clue why you'd try to put it in the ldap section.
What's wrong with using the "realm" module, which comes configured
to do realms?
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html