<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><title></title><head><meta http-equiv="Content-type" content="text/html; charset=UTF-8" /><style type="text/css">html { margin:0px; padding:0px; } body { width:100%; height:100%;background-color:transparent; overflow:show; background-image:none; margin:0px; padding:5px; }p { margin:0px; padding:0px; } body { font-size:12px;font-family:Verdana; } p { margin:0px;padding:0px; } blockquote { border-left:1px solid #CCC;padding-left:5px;margin-left:5px;}</style></head><body id="bodyElement" style="">
<P><FONT size=2> </P>
<P><BR></P>
<BLOCKQUOTE style="FONT-SIZE: 12px" type="cite" face="Verdana">----- Original Message -----<BR>From: Alan DeKok<BR>Sent: 02:32 pm<BR>To: FreeRadius users mailing list<BR>Subject: Re: stripping domain from username (for wifi authentication on Windows XP)<BR><BR>Ryan Pugatch wrote:<BR>...<BR>>> Thanks for the response. I'm using 1.1.x. Currently, I have ldap<BR>>> filter definined as:<BR>>><BR>>> filter = "(uid=%{Stripped-User-Name:-%{User-Name}})" <BR>>><BR>>> I have enabled with_ntdomain_hack on preprocess.<BR><BR>Don't.<BR><BR>Use: filter = "(uid=%{mschap:User-Name:-%{User-Name}}<BR><BR>The MS-CHAP module is smart enough to know about horrible Microsoft<BR>DOMAIN\user things.<BR><BR>Alan DeKok.<BR>-<BR>
<P><FONT size=2></FONT> </P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2>Worked like a charm.  Thank you, Alan.</FONT></P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2>Ryan</FONT></P></BLOCKQUOTE></FONT></body></html>