On Thu, 24 Oct 2002, Gene Parks wrote:
> I have got freeradius installed and working as a simple radius server
> with an LDAP backend. I would like to know if anyone can point me in the
> direction of the documentation that deals with realms and filtering
> usernames from the request.
>
> i.e. [EMAIL PROTECTED] I would like to the variable domain.com and append
> this to the baseDN and then do the uid search from the username on the
> front of the request.
>
> so the baseDN would look like ou=domain.com, o=root and the uid=user
>
> Has anyone done this before and if so can you point me to the
> documentation?
>
> Thanks
> Gene Parks
Add the realms module in the authorize section and set the following config
directives in the rlm_ldap module:
basedn = "ou=%{Realm},o=root"
filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"
It should work ok.
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html