special characters in passwords + FR + ldap

Alan DeKok aland at ox.org
Wed Mar 29 19:34:22 CEST 2006


"Turtiainen, Tero" <tero.turtiainen at capgemini.com> wrote:
> > From: "Natalia Escalera" <nescalera at gmail.com>
> >
> > We tried FR 1.1.1 and we are still having problems with
> > passwords containing
> > special characters like '$' for the LDAP authentication. In
> > FR 1.1.0 the '$'
> > was replaced by a character such as '%24'.

  That is supposed to happen.

> >  For the new
> > version, the symbol
> > '$' is deleted as well as the character that is next to it. 

  That's not LDAP or FreeRADIUS.  That's the shell you're using.

> > Command:
> > /usr/local/bin/radtest username "test$2006" x.x.x.x 1 test123

  Try:

 /usr/local/bin/radtest username 'test$2006' ...

  Read the shell documentation to see why it expands shell variables
like $2.

  Alan DeKok.




More information about the Freeradius-Users mailing list