Multiple LDAP Search Bases - Per NAS

Dusty Doris freeradius at
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 ==
dialup  NAS-IP-Address ==

adsl	NAS-IP-Address ==

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