Re: FreeRadius 2.0.5... canŽt make it work

Jan Strauch waynel at web.de
Wed Mar 18 17:44:08 CET 2009


Many thanks

There have been quite a few changes since 1.0.2.
Now the clients are loaded from the nas-table.
The logins are looked up in the DB too, but not working.

IŽll be back if I canŽt fix it by myself.

Jan

> -----Ursprüngliche Nachricht-----
> Von: <tnt at kalik.net>
> Gesendet: 18.03.09 16:38:55
> An: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
> Betreff: Re: FreeRadius 2.0.5... canŽt make it work


> >terminal 1 : radiusd -X gives me :
> >
> ..
> >radiusd: #### Instantiating modules ####
> > instantiate {
> > Module: Linked to module rlm_exec
> > Module: Instantiating exec
> >  exec {
> >        wait = no
> >        input_pairs = "request"
> >        shell_escape = yes
> >  }
> > Module: Linked to module rlm_expr
> > Module: Instantiating expr
> > Module: Linked to module rlm_expiration
> > Module: Instantiating expiration
> >  expiration {
> >        reply-message = "Password Has Expired  "
> >  }
> > Module: Linked to module rlm_logintime
> > Module: Instantiating logintime
> >  logintime {
> >        reply-message = "You are calling outside your allowed timespan  "
> >        minimum-timeout = 60
> >  }
> > }
> ..
> > ... but 127.0.0.1 is not unknown 
> 
> Yes, it is unknown.
> >
> >sql.conf : readclients = yes
> >clients.conf : completely commented out
> 
> As are many other things. sql among them.
> 
> >
> >mysql> select * from nas order by id desc limit 1;
> >+----+-----------+-----------+--------+-------+--------+-----------+-------------+
> >| id   | nasname   | shortname | type     | ports  | secret  | community | description   | 
> >+----+-----------+-----------+--------+-------+--------+-----------+-------------+
> >| 56  | 127.0.0.1  | localhost   | MikTik   |   NULL | test     | NULL        | NULL           | 
> >+----+-----------+-----------+--------+-------+--------+-----------+-------------+
> >1 row in set (0.00 sec)
> >
> >What do I do wrong ?
> 
> You haven't listed sql anywhere. So, the server is not reading nas
> table. Even if it did read it - you haven't got any authentication
> modules enabled. Go back to default configuration, add sql in
> instantiate in radiusd.conf - and watch it work. Then make *small*
> changes to configuration files. When you break something you will know
> what you have done. Butchering configuration blindly like this can end
> only one way - failure.
> 
> Ivan Kalik
> Kalik Informatika ISP
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 


_______________________________________________________________________
Aufgepasst: Sind Ihre Daten beim Online-Banking auch optimal geschützt?
Jetzt absichern: https://homebanking.web.de/?mc=mail@footer.hb





More information about the Freeradius-Users mailing list