modules directory

Johan Meiring jmeiring at pcservices.co.za
Tue Jan 18 07:06:50 CET 2011


On 2011/01/17 10:37 PM, Christ Schlacta wrote:
>
> one more question: can there be multiples of ANY module specified? for
> example, can I use two different ldap or sql modules if I were to need to
> (just as a bad example, I propose: 1 radius server, 2 wlans with different
> user bases that can't be merged into one directory for whatever reasons).


The first instance of a module is defined (and called) using the module name

e.g.

Definition:
checkval {
	item = ....
	....
	}

Calling the module:
checkval


The seconds instance is "named" and called using the "name"

Definition:
checkval blah {
	item = ...
	....
	}

Calling the module:
blah


Hope that helps.



-- 


Johan Meiring
Cape PC Services CC
Tel: (021) 883-8271
Fax: (021) 886-7782




More information about the Freeradius-Users mailing list