Hello,

I've read all FreeRadius FAQ
(http://www.freeradius.org/faq/freeradius.html) and everything I could,
including some FreeRadius Source. I've also looked for info on
FreeRadius Archive, and finally I guessed Auth-Type := sql, and it
started working.

I thinq FreeRadius is a great project, and I really want to congratulate
on you, guys.

Before I start talk about many things, I'm running FreeRadius 0.2, with
mysqld  Ver 3.23.36 for pc-linux-gnu on i686, both on Linux
localhost.domain 2.4.5-9cl #1 Sun Jul 1 14:50:42 BRT 2001 i686 unknown.
This is a COnectiva Linux 7.0.

I'm in need to diferentiate among different groups, which I have named,
pppAsync, pppISDN64 and pppISDN128. These are my entries on users file:

#DEFAULT        Auth-Type := sql
#       Fall-Through = 1

DEFAULT Auth-Type := sql, NAS-Port-Type == ISDN, Simultaneous-Use == 2,
Group == "pppISDN128"
        Port-Limit = 2,
        Fall-Through = 1

DEFAULT Auth-Type := sql, NAS-Port-Type == ISDN, Simultaneous-Use == 1,
Group == "pppISDN64"
        Port-Limit = 1,
        Fall-Through = 1

DEFAULT Auth-Type := sql, Simultaneous-Use=1, Group = "pppAsync"
        Port-Limit = 1,
        Fall-Through = 1

I don't know how I will configure these groups on SQL tables. I've
already INSERTed an entry in usergroup table, as shown below.

mysql> select * from usergroup;
+----+----------+-----------+
| id | UserName | GroupName |
+----+----------+-----------+
|  1 | fmbraga  | pppAsync  |
+----+----------+-----------+
1 row in set (0.00 sec)

Since I commented the first DEFAULT entry (shown above), FreeRadius
won't authenticate the user anymore. This is the debug output.

rad_recv: Access-Request packet from host 127.0.0.1:1024, id=13,
length=58
        User-Name = "fmbraga"
        Password = "\355/-X\221?y\335\271\373.\272\275`2\331"
        NAS-IP-Address = 255.255.255.255
        NAS-Port-Id = "S99"
rad_lowerpair:  User-Name now 'fmbraga'
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
  modcall[authorize]: module "suffix" returns ok
  modcall[authorize]: module "files" returns notfound
modcall: group authorize returns ok
auth: type Local
auth: Failed to validate the user.
Sending Access-Reject of id 13 to 127.0.0.1:1024
Finished request 0

Hope any of you guys have a clue (or an example) for me.

Regards,

Fernando BRaga


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

Reply via email to