Re: How to pass information between modules?
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
This archive was generated by a fusion of
Pipermail (Mailman edition) and
MHonArc.