On Tue, 24 Jul 2001 [EMAIL PROTECTED] wrote:

> "Matthew S. Crocker" <[EMAIL PROTECTED]> wrote:
> > Edit the radiusd.conf and change the filter line in the ldap section.
> > My filter line is (|(uid=%u)(uid=%U))
> > 
> > %u = username, not stripped
> > %U = username, stripped
> > 
> > There is a bug in the radius_xlat function which returns '_' for %u when
> > there isn't a suffix attached.
> 
>   No... it will print '_' for *any* string attribute, *if* that string
> attribute is not present in the request.
> 
>   The User-Name attribute (%u) should be present.  The
> Stripped-User-Name attribute (%U) may not be present.

Shouldn't Stripped-User-Name == User-Name if it isn't present?  

If the bug isn't in radius_xlat it is where Stripped-User-Name is set in
preprocess.

-Matt
-- 
----------------------------------------------------------------------
Matthew S. Crocker 
Vice President / Internet Division         Email: [EMAIL PROTECTED]
Crocker Communications                     Phone: (413) 587-3350
PO BOX 710                                 Fax:   (413) 587-3352
Greenfield, MA 01302-0710                  http://www.crocker.com
----------------------------------------------------------------------


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to