Auth Type when running exec script to authenticate
- To: FreeRadius <freeradius-users@lists.freeradius.org>
- Subject: Auth Type when running exec script to authenticate
- From: Patric <patrict@bluebottle.com>
- Date: Wed, 24 Jan 2007 13:34:51 +0200
- Domainkey-signature: a=rsa-sha1; s=mail; d=bluebottle.com; c=simple; q=dns; h=received:message-id:date:from:user-agent:mime-version:to: subject:content-type:content-transfer-encoding; b=xmZQIzVXOb0SbPCdbrUE+pPY6KjnvSoQdLhYyz/ZvdyEZsrVa6ZKodOec8vzQZT48 sgk5hUuceLxCbhE/zkxmWNLaY6hxge3agG3Pi326jQuppZ0Pbqhf+Bk/NHP6NC2
- Reply-to: FreeRadius users mailing list <freeradius-users@lists.freeradius.org>
- User-agent: Thunderbird 1.5.0.9 (Windows/20061207)
Hi all,
Up till now have been using sql to authenticate, and am trying to change
to my own script and mysql db.
In radiusd.conf I have :
modules {
exec exec-radauth {
wait = yes
program = "/path/to/script.php -- %{User-Name} %{Password}"
input_pairs = request
output_pairs = reply
}
authorize {
exec-radauth
}
This all works perfectly when I include "files" in the authorize section
and place the following in the users file :
DEFAULT Auth-Type = Accept
But if I exclude "files" from the authorize section I get :
auth: No authenticate method (Auth-Type) configuration found for the
request: Rejecting the user
auth: Failed to validate the user.
Can anyone point me in the right direction with this problem?
radiusd: FreeRADIUS Version 1.1.3, for host i686-redhat-linux-gnu, built
on Sep 20 2006 at 14:13:13
Thanks in advance
Patric
----------------------------------------------------------------------
Click for free info on adult education and start making $150k/ year
http://tags.bluebottle.com/fc/CAaCMPJnSlqlx5S4A8vYLM5adNYw4Lck/
This archive was generated by a fusion of
Pipermail (Mailman edition) and
MHonArc.