Oops, should point out that I'm currently using the following line to get the URL into the access-request:

echo "User-Name = joe, Password = testing, incoming-req-uri = http:// www.blibble.net/path_to" | ./radclient 127.0.0.1 auth testing123

This puts it into the access-request and the radius server sees it
rad_recv: Access-Request packet from host 127.0.0.1:32770, id=106, length=79
        User-Name = "joe"
        User-Password = "testing"
        incoming-req-uri = "http://www.blibble.net/path_to";
  Processing the authorize section of radiusd.conf


Thanks.

 -- joe.

On 1 Aug 2006, at 13:39, Joe Warren-Meeks wrote:


Hey guys,

(Using freeradius-1.1.2 on Ubuntu Linux, with MySQL backend)

I'm setting up an HTTP based download service and we are looking to authenticate users to download a specific object only. So, I'm looking for a way to authenticate based on username, password and url.

Now, I can extend the radcheck table to include the URL and add that into the sql query as defined in mysql.conf, but how do I get freeradius to authenticate on the triple?

Any ideas? My search in the mailing list for URL and authenticate strangely turned up a lot of results ;-)

Thanks.

 -- joe.

Joe Warren-Meeks                       T: +44 (0) 208 962 0007
Aggregator Ltd.                        M: +44 (0) 7789 176 078
Unit 62/63 Pall Mall Deposit           F: +44 (0) 208 962 0008
124-128 Barlby Road, London W10 6BL
PGP:        361F 78D0 56F5 8D7F 2639  947D 71E2 8811 F825 64CC




Joe Warren-Meeks                       T: +44 (0) 208 962 0007
Aggregator Ltd.                        M: +44 (0) 7789 176 078
Unit 62/63 Pall Mall Deposit           F: +44 (0) 208 962 0008
124-128 Barlby Road, London W10 6BL
PGP:        361F 78D0 56F5 8D7F 2639  947D 71E2 8811 F825 64CC



- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to