How to pass information between modules?
Alan DeKok
aland at deployingradius.com
Fri Dec 8 20:11:27 CET 2006
Martin Gadbois wrote:
> What would be the best way to pass information between ldap and sql?
In the same way that all of the other modules do it: Put the
information into attributes. That's what the "config item" list is for.
> For example, if I were to extract a group name from "ldap" and pass it
> to "sql" to get all the RADIUS attributes associated to this group, what
> would be the strategy to acheive that?
Put it into an attribute in the config items.
> In other words, how to configure those modules if the "ldap" contains
> the group info, but "sql" the actual RADIUS attribute per group?
You can use the "LDAP-Group" attribute, see the rlm_ldap documentation.
Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
More information about the Freeradius-Users
mailing list