Export Huntgroup and User Files
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Tue Feb 19 18:35:23 CET 2013
On 19 Feb 2013, at 07:58, Brian Candler <B.Candler at pobox.com> wrote:
> On Tue, Feb 19, 2013 at 11:11:01AM +0100, Patrick Ko wrote:
>> is it possible to export the Huntgroups and User Files maybe inside an
>> Module ?
>
> Why? Whatever it is you're trying to do, you're probably going about it the
> wrong way.
>
> Modules are basically independent of each other. You can also have multiple
> instantiations of the same module, e.g. for two instances of rlm_files:
>
> files foo {
> usersfile = ${confdir}/foo
> }
>
> files bar {
> usersfile = ${confdir}/bar
> }
>
> Modules *can* cooperate with each other if necessary: see for example
> rlm_rediswho which uses an instance of rlm_redis.
>
> I suggest you probably need to understand more of the basic operation of
> freeradius before you start writing modules for it. If you need heavy
> customisation it still may be easier to use rlm_perl or rlm_python rather
> than coding in C.
You can also register comparison callbacks for certain attributes. See LDAP-Group. This might provide a way of doing what you wanted.
-Arran
More information about the Freeradius-Devel
mailing list