Re: How to pass information between modules?

This is a discussion on Re: How to pass information between modules? within the FreeRADIUS Users forums, part of the Networking and Network Related category; Martin Gadbois wrote: > What would be the best way to pass information between ldap and sql? In the same ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-08-2006
Alan DeKok
 
Posts: n/a
Default 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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0