[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnu-radius] radauth
From: |
Sergey Velikanov |
Subject: |
[Help-gnu-radius] radauth |
Date: |
Wed, 5 Nov 2003 14:08:50 +0500 |
$radauth vgray 1
radtest: error: /usr/local/sbin/radauth:14: unknown attribute `User-Password'
FAIL
why?
$cat /usr/local/sbin/radauth
#! /usr/local/bin/radtest -f
# $Id: radauth.m4,v 1.8 2003/05/29 15:50:28 gray Exp $
# This file is part of GNU Radius.
# Copyright (C) 2001,2003 Sergey Poznyakoff
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# GNU Radius is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
send auth 1 User-Name = ${1:?} \
User-Password = ${2:&Password: } \
NAS-Port-Id = ${pid:-0}
expect 2
Sergey Velikanov
- [Help-gnu-radius] radauth,
Sergey Velikanov <=