Since 2 Month noone any idea how to do this ? Stripping Username Question *important*

James J J Hooper jjj.hooper at bristol.ac.uk
Sat Jul 22 10:30:41 CEST 2006



--On Saturday, 22 July 2006 09:23 +0200 Krämer Armin <Kraemer.Armin at web.de> 
wrote:

>
> Hi,
>
> im working with machine authentication and EAP-TLS Zertifikates.
>
> When a machine authenticates  I get the name of the mchine like
> "host/250-IT"  and the search String on LDAP is like "host/250-IT".
>
> I nee the searchString at LDAP like 250-IT$. How can I strip away that
> host/ and add $ for the search at the LDAP Directory?
>

In your LDAP section of radiusd.conf, replace this:
%{Stripped-User-Name:-%{User-Name}}
with this:
%{Stripped-User-Name:-%{mschap:User-Name}}

Regards,
   James

--
James J J Hooper,
Information Services
University of Bristol
--




More information about the Freeradius-Users mailing list