Hi All,

I have a problem in authentication with RADIUS server.

Configuration details in radius server
*
*
*Users file:*
DEFAULT Auth-Type = System,
                Simultaneous-Use = 1
                Exec-Program-Wait = "/usr/local/sbin/telauth \
                %C{User-Name} \
                %C{Calling-Station-Id}"

*telauth:*
#! /bin/sh
DB=/var/db/userlist
if grep "$1:$2" $DB; then
echo "Service-Type = Login,"
echo "Session-Timeout = 1200"
exit 0
else
echo "Reply-Message = \
\"You are not authorized to log in\""
exit 1
fi

*userlist file:*
2525:2525



When i tried to send request for authenticating user 2525 from radiusclient,
iam getting the following error.


Any help is appreciated.
Thanks

Error:

Aug 20 17:24:23 Auth.notice: (Access-Request myhost 33 "2525" CLID=2525):
Login incorrect [2525/]
Aug 20 17:24:23 Auth.info: (Access-Request myhost 33 "2525" CLID=2525): rule
trace: /usr/local/etc/raddb/users:20
_______________________________________________
Help-gnu-radius mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-radius

Reply via email to