[Help] radtest mschap problem
Andres
arvutihooldus at gmail.com
Fri Apr 26 23:12:27 CEST 2013
Hi,
I have done clean SLES11 install
FreeRADIUS server Version: 2.1.1-7.16.1
also installed freeradius-server-libs and utils
FreeRADIUS server and libs and utils was installed via Yast.
radius:/etc # radclient -v
radclient: $Id$ built on Jan 22 2013 at 23:55:37
#
# Version: $Id$
#
prefix="/usr"
exec_prefix="/usr"
bindir="/usr/bin"
usage() {
echo "Usage: radtest user passwd radius-server[:port]
nas-port-number secret [ppphint] [nasname]" >&2
exit 1
}
radclient=$bindir/radclient
if [ ! -x "$radclient" ] && [ -x ./radclient ]
then
radclient=./radclient
fi
if [ "$1" = "-d" ]
then
DICTIONARY="-d $2"
shift;shift
else
DICTIONARY=""
fi
if [ $# -lt 5 ] || [ $# -gt 7 ]
then
usage
fi
if [ "$7" ]
then
nas=$7
else
nas=`hostname`
fi
(
echo "User-Name = \"$1\""
echo "User-Password = \"$2\""
echo "NAS-IP-Address = $nas"
echo "NAS-Port = $4"
if [ "$6" ]
then
echo "Framed-Protocol = PPP"
fi
) | $radclient $DICTIONARY -x $3 auth $5
Andres
2013/4/26 <A.L.M.Buxey at lboro.ac.uk>
> Hi,
>
> what version of FreeRADIUS? are you sure you arent running old copies of
> radclient/radtest
>
> ie you THINK you can do "-t mschap" but the wrapper or binary doesnt
>
>
> radclient -v ?
>
> which radtest
> then cat the resulting file.
>
>
> alan
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130427/3473d155/attachment.html>
More information about the Freeradius-Users
mailing list