Re: Problem with running.

2003-10-13 Thread Alex Radetsky
On Fri, Oct 10, 2003 at 11:17:16AM -0400, Alan DeKok wrote:
 Alex Radetsky [EMAIL PROTECTED] wrote:
   Please tell me, what changes are made in modules interfaces from 
   0.7.1 to 0.9.1. 
   I don't think there were any changes to the module interface.
   What a problem may be with my module? 
   I would suggest using 'gdb' to track down any errors.

 Great thanks, Alan. 

 I found error in my module with memory operations. Thanks!

-- 
Alex Radetsky   
AR2657-RIPE
RAD-UANIC


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


Re: Problem with running.

2003-10-10 Thread Alan DeKok
Alex Radetsky [EMAIL PROTECTED] wrote:
  Please tell me, what changes are made in modules interfaces from 
  0.7.1 to 0.9.1. 

  I don't think there were any changes to the module interface.

  What a problem may be with my module? 

  I would suggest using 'gdb' to track down any errors.

  Alan DeKok.

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


Problem with running.

2003-10-09 Thread Alex Radetsky

 Dear Collegues! 

 Now, I write first message to this list. I can be wrong. ;) 

 I'm using freeradius from 0.4.x version. When I was study radius
protocol and freeradius config files I found that one of many solutions
for my dialup system will be development of my own module.
 My module was develped by me and works fine from first my version 
of freeradius to 0.7.1 where it lives now. 
 But, when I try to compile with 0.9.1 on latest gentoo-linux
 I found some errors in my modules. I fix it. 
 When I run 'radiusd -X' radius got signal 11 (segmentation fault). 
 Look: (my module is rlm_xisp AKA xisp) 
 
 Please tell me, what changes are made in modules interfaces from 
 0.7.1 to 0.9.1. 
 What a problem may be with my module? 

 Thank you. 

  radius -X run log  

Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /usr/local/radius/etc/raddb/proxy.conf
Config:   including file: /usr/local/radius/etc/raddb/clients.conf
Config:   including file: /usr/local/radius/etc/raddb/snmp.conf
 main: prefix = /usr/local/radius
 main: localstatedir = /usr/local/radius/var
 main: logdir = /usr/local/radius/var/log/radius
 main: libdir = /usr/local/radius/lib
 main: radacctdir = /usr/local/radius/var/log/radius/radacct
 main: hostname_lookups = no
 main: max_request_time = 60
 main: cleanup_delay = 10
 main: max_requests = 1024
 main: delete_blocked_requests = 0
 main: port = 0
 main: allow_core_dumps = no
 main: log_stripped_names = yes
 main: log_file = /usr/local/radius/var/log/radius/radius.log
 main: log_auth = yes
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = /usr/local/radius/var/run/radiusd.pid
 main: user = root
 main: group = root
 main: usercollide = no
 main: lower_user = no
 main: lower_pass = no
 main: nospace_user = no
 main: nospace_pass = no
 main: checkrad = /usr/local/radius/sbin/checkrad
 main: proxy_requests = yes
 proxy: retry_delay = 5
 proxy: retry_count = 3
 proxy: synchronous = no
 proxy: default_fallback = no
 proxy: dead_time = 120
 proxy: post_proxy_authorize = yes
 proxy: wake_all_if_all_dead = no
 main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
Using deprecated naslist file.  Support for this will go away soon.
read_config_files:  reading clients
Using deprecated clients file.  Support for this will go away soon.
read_config_files:  reading realms
Using deprecated realms file.  Support for this will go away soon.
radiusd:  entering modules setup
Module: Library search path is /usr/local/radius/lib
Module: Loaded xisp 
Segmentation fault
  radius -X run log end  


-- 
Alex Radetsky   
AR2657-RIPE
RAD-UANIC


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


Problem while Running Radius Client

2002-06-28 Thread s . venkata krishnan

Hi
I am working in cistron Radius 1.6.6 and when i am able to run the radclient which is 
present in the src directory  i am getting error like this

radclient -d etc/raddb -i 140.252.13.62 acct server
i am getting a message
dict_init:-could not open dictionary.

can anyone send me how to run radclient in cistron server so that i can work on that. 

I have changed the port no in etc/services to 1645 so that it supports cistron server. 
when i send a request in port no 1645 i am getting a reply on 1027. what may be the 
problem and let me know about that.

Thanks

Venkat
-
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com

Take the shortest route to success! 
Click here to know how http://education.sify.com

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



Problem while Running Radius Client

2002-06-28 Thread s . venkata krishnan

Hi
I am working in cistron Radius 1.6.6 and when i am able to run the radclient
which is present in the src directory  i am getting error like this

radclient -d etc/raddb -i 140.252.13.62 acct server
i am getting a message
dict_init:-could not open dictionary.

can anyone send me how to run radclient in cistron server so that i can work on
that. 

I have changed the port no in etc/services to 1645 so that it supports cistron
server. when i send a request in port no 1645 i am getting a reply on 1027. what
may be the problem and let me know about that.

Thanks

Venkat

-
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com

Take the shortest route to success! 
Click here to know how http://education.sify.com

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



Re: Problem while Running Radius Server

2002-06-21 Thread Artur Hecker

hi

 HASH: Reinitializing hash structures and list for caching
 rim_unix: you must specify a shadow passowrd fole
 HASH: unable to create user hash table. disable caching and run debugs.
 radiusd.conf[4260 : unix : module instantation failed.

just do what it says: disable hashing. the problem is, radiusd can't
read your shadow file in order to hash the system passwords. if it is
not intended, you should deactivate the unix module (auth by system
password). otherwise, take of the problem enabling radiusd to read the
passwords.

a solution is to deactivate the caching just like it proposes this to
you - in radiusd.conf just do:

unix {
#
#  Cache /etc/passwd, /etc/shadow, and /etc/group
#
#  The default is to cache them.
#
#  For FreeBSD, you do NOT want to enable the cache,
#  as it's password lookups are done via a database.
#
# allowed values: {no, yes}
cache = no

  ^^ 

regards,

artur

-- 
Artur Hecker Groupe Accès et Mobilité
hecker in enst point fr   Département Informatique et Réseaux
+33 1 45 81 750746, rue Barrault 75634 Paris cedex 13
http://www.infres.enst.fr  ENST Paris

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



Problem while Running Radius Server

2002-06-20 Thread s . venkata krishnan

Hi

I am running radius server with Linux 7.1  and i am getting the errors as follows.

HASH: Reinitializing hash structures and list for caching
rim_unix: you must specify a shadow passowrd fole
HASH: unable to create user hash table. disable caching and run debugs.
radiusd.conf[4260 : unix : module instantation failed.


Please let me know what is the problem.

Thanks

Venkata Krishnan. S.


-
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com

Take the shortest route to success! 
Click here to know how http://education.sify.com

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