You have to put the clients IP address in
/etc/raddb/clients.conf

Just follow one of the examples in that file.

Kafui Amedzekor

--- Velikanov <[EMAIL PROTECTED]> wrote:

> 
> 
> GOOD DAY.
> 
> 
> 
> I use     freeradius-snapshot-20040812 with ORACLE ,
> its works, but I want
> 
> to read clients from  table NAS, I create it  in
> ORACLE as in   db_mysql.sql
> 
> 
> 
> id     nasname                   shortname  type  
> ports  secret
> community naslocation
> 
> 1      test.asu.farlep.net      test           
> other  16       test123
> public        any
> 
> 
> 
> in /etc/hosts I add
> 
> 192.168.61.191  test.asu.farlep.net     test
> 
> 
> 
> in  oraclesql.conf  I  added
> 
> nas_table = "nas"
> 
> readclients = yes
> 
> 
> 
> in  radiusd.conf  I  added #
> 
> 
> 
> #$INCLUDE  ${confdir}/clients.conf
> 
> 
> 
> in    /etc/raddb     I remove files
> 
> naslist; clients
> 
> 
> 
> Here is the result of    radiusd -X       on
> freeradius server
> 192.168.61.193   and
> 
> radtest dada dudu  192.168.61.193  7    test123     
>     from host
> 192.168.61.191
> 
> 
> 
> 
> 
>             ----skip-----
> 
> read_config_files:  reading naslist
> 
> read_config_files:  reading clients
> 
> 
>             ----skip-----
> 
> Module: Loaded SQL
> 
>             ----skip-----
> 
> sql: nas_table = "nas"
> 
>             ----skip-----
> 
> SELECT * FROM nas
> 
> rlm_sql (sql): Read entry
>
nasname=test.asu.farlep.net,shortname=test,secret=test
> 
> 123
> 
> rlm_sql (sql): Adding client 192.168.61.191 (test)
> to clients list
> 
>             ----skip-----
> 
>  Module: Instantiated radutmp (radutmp)
> 
> Listening on IP address *, ports 1812/udp and
> 1813/udp, with proxy on
> 1814/udp.
> 
> Ready to process requests.
> 
> rad_recv: Access-Request packet from host
> 192.168.61.191:1031, id=24,
> length=56
> 
> Ignoring request from unknown client
> 192.168.61.191:1031
> 
> --- Walking the entire request list ---
> 
> Nothing to do.  Sleeping until we see a request.
> 
> rad_recv: Access-Request packet from host
> 192.168.61.191:1031, id=24,
> length=56
> 
> Ignoring request from unknown client
> 192.168.61.191:1031
> 
> --- Walking the entire request list ---
> 
> 
> 
> and so on
> 
> 
> 
> WHERE IS MY MISTAKE, what is wrong ?
> 
> 
> 
> 
> - 
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> 



                
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

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

Reply via email to