Multiple LDAP Search Bases - Per NAS

Dusty Doris freeradius at mail.doris.cc
Thu Feb 16 00:57:42 CET 2006


> Could we configure FreeRadius to look in a different ou, say
> ou=dialup,ou=radius,dc=test,dc=com, when it received an authentication
> request from the dialup NASes?
>

Try with huntgroups.

huntgroups file

dialup	NAS-IP-Address == 1.1.1.1
dialup  NAS-IP-Address == 1.1.1.2

adsl	NAS-IP-Address == 1.1.1.3


Then in your ldap section

basedn = "ou=%{Huntgroup-Name},ou=radius,dc=test,dc=com"


I think that should work, I'd give it a shot with radiusd -X to see.





More information about the Freeradius-Users mailing list