Re[3]: Segmentation fault in rlm_passwd

2002-07-15 Thread 3APA3A

Dear [EMAIL PROTECTED],


--Monday, July 15, 2002, 4:48:18 PM, you wrote to [EMAIL PROTECTED]:


mmr> Yeaaa! It works. Thanks. ÓÐÁÓÉÂÏ! ;) but I found rlm_passwd was not
mmr> compiledaftergeneralmake.   i   have   to   cd'ing   to
mmr> src/modules/rlm_passwd  and run 'make; make install' to compile and
mmr> install rlm_passwd.so. Some bugs in Makefile-s?


rlm_passwd   is  not  stable  module  (only  stable  modules  listed  in
src/modules/stable  are  compiled  and  installed  by  default).  Stable
modules should be specified in src/modules/stable before ./configure. If
you  want  to  build  some  additional modules after ./configure you can
correct MODULES variable in Make.inc to add some non-stable module.

-- 
~/ZARAZA
óÜÒ éÓÁÁË îØÀÔÏÎ ÏÔËÒÙÌ, ÞÔÏ ÑÂÌÏËÉ ÐÁÄÁÀÔ ÎÁ ÚÅÍÌÀ. (ô×ÅÎ)


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



Re[2]: Segmentation fault in rlm_passwd

2002-07-15 Thread magmike


> --Monday, July 15, 2002, 1:19:53 PM, you wrote to [EMAIL PROTECTED]:

mmr>> m_mschap-0.6.so: undefined symbol: md4_calc

> There  was a problem with dynamic library building. This problem will be
> fixed in upcoming 0.6.1 and should be fixed in latest CVS snapshot.

mmr>> Program received signal SIGSEGV, Segmentation fault.
mmr>> [Switching to Thread 1024 (LWP 12673)]
mmr>> 0x401cb79b in passwd_authorize (instance=0x80bb5f0, request=0x80bd910)
mmr>> at rlm_passwd.c:425
mmr>> 425 for (key = request->packet->vps;

> it  looks strange (there is nothing changed since release and nothing on
> rlm_passwd.c:425  to  cause  the segfault). Try to completely remake and
> reinstall  all  modules,  may  be  you  still  having  rlm_passwd binary
> compiled from 0.6 release version, it should be recompiled.
Yeaaa! It works. Thanks. ÓÐÁÓÉÂÏ! ;)
but I found rlm_passwd was not compiled after general make.
i have to cd'ing to src/modules/rlm_passwd and run 'make; make install'
to compile and install rlm_passwd.so. Some bugs in Makefile-s?


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



Re: Segmentation fault in rlm_passwd

2002-07-15 Thread 3APA3A

Dear [EMAIL PROTECTED],


--Monday, July 15, 2002, 1:19:53 PM, you wrote to [EMAIL PROTECTED]:

mmr> m_mschap-0.6.so: undefined symbol: md4_calc

There  was a problem with dynamic library building. This problem will be
fixed in upcoming 0.6.1 and should be fixed in latest CVS snapshot.

mmr> Program received signal SIGSEGV, Segmentation fault.
mmr> [Switching to Thread 1024 (LWP 12673)]
mmr> 0x401cb79b in passwd_authorize (instance=0x80bb5f0, request=0x80bd910)
mmr> at rlm_passwd.c:425
mmr> 425 for (key = request->packet->vps;

it  looks strange (there is nothing changed since release and nothing on
rlm_passwd.c:425  to  cause  the segfault). Try to completely remake and
reinstall  all  modules,  may  be  you  still  having  rlm_passwd binary
compiled from 0.6 release version, it should be recompiled.

-- 
~/ZARAZA
Äà, åìó ÷åðòîâñêè ïîâåçëî. Ýõ è ïàðøèâî á åìó ïðèøëîñü åñëè áû îí âûæèë! (Òâåí)


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



Segmentation fault in rlm_passwd

2002-07-15 Thread magmike

Hello!

Problem is Segmentation fault in rlm_passwd
I try to authorize pptp user via local simplest file /etc/raddb/userlist
with format = "*User-Name:User-Password"



= radiusd.conf fragment =

modules {
...
mschap {
authtype = MS-CHAP


use_mppe = yes
require_encryption = yes
require_strong = yes
}
passwd raddb_userlist {
  filename = /etc/raddb/userlist
  format = "*User-Name:User-Password"
  authtype = MS-CHAP
  hashsize = 100
  ignorenislike = no
  allowmultiplekeys = no
}

} # end of modules


authorize {
preprocess

suffix
files
raddb_userlist
mschap
}


= users file (is very simple for debug purposes =

DEFAULT Service-Type == Framed-User
Framed-IP-Address = 255.255.255.254,
Framed-MTU = 576,
Service-Type = Framed-User,
Fall-Through = Yes


with freeradius latest snapshot (Mon Jul 15 08:29:11 2002) I have
Segmentation fault.
With 0.6 release exits with  "undefined symbol: md4_calc:" (see below)

==
root@vpn:/etc/raddb# gdb radiusd
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-slackware-linux"...
(gdb) set args -XX
(gdb) run
Starting program: /usr/local/sbin/radiusd -XX
[New Thread 1024 (LWP 12673)]
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /etc/raddb/clients.conf
Config:   including file: /etc/raddb/snmp.conf
Config:   including file: /etc/raddb/sql.conf
 main: prefix = "/usr/local"
 main: localstatedir = "/var"
 main: logdir = "/var/log/radius"
 main: libdir = "/usr/local/lib"
 main: radacctdir = "/var/log/radius/radacct"
 main: hostname_lookups = no
read_config_files:  reading dictionary
read_config_files:  reading clients
read_config_files:  reading realms
read_config_files:  reading naslist
 main: max_request_time = 30
 main: cleanup_delay = 5
 main: max_requests = 1024
 main: delete_blocked_requests = 0
 main: port = 0
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_auth = yes
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = "/var/run/radiusd/radiusd.pid"
 main: user = "(null)"
 main: group = "(null)"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "no"
 main: nospace_pass = "no"
 main: proxy_requests = no
 security: max_attributes = 200
 security: reject_delay = 1
 main: debug_level = 0
read_config_files:  entering modules setup
Module: Library search path is /usr/local/lib
Module: Loaded MS-CHAP
 mschap: ignore_password = no
 mschap: use_mppe = yes
 mschap: require_encryption = yes
 mschap: require_strong = yes
 mschap: passwd = "(null)"
 mschap: authtype = "MS-CHAP"
Module: Instantiated mschap (mschap)
Module: Loaded preprocess
 preprocess: huntgroups = "/etc/raddb/huntgroups"
 preprocess: hints = "/etc/raddb/hints"
 preprocess: with_ascend_hack = no
 preprocess: ascend_channels_per_line = 23
 preprocess: with_ntdomain_hack = no
 preprocess: with_specialix_jetstream_hack = no
 preprocess: with_cisco_vsa_hack = no
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
 realm: format = "suffix"
 realm: delimiter = "@"
Module: Instantiated realm (suffix)
Module: Loaded files
 files: usersfile = "/etc/raddb/users"
 files: acctusersfile = "/etc/raddb/acct_users"
 files: compat = "no"
Module: Instantiated files (files)
Module: Loaded passwd
 passwd: filename = "/etc/raddb/userlist"
 passwd: format = "*User-Name:User-Password"
 passwd: authtype = "MS-CHAP"
 passwd: ignorenislike = no
 passwd: allowmultiplekeys = no
 passwd: hashsize = 100
rlm_passwd: nfields: 2 keyfield 0(User-Name) listable: no
Module: Instantiated passwd (raddb_userlist)
Module: Loaded detail
 detail: detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail"
 detail: detailperm = 384
 detail: dirperm = 493
 detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded radutmp
 radutmp: filename = "/var/log/radius/radutmp"
 radutmp: username = "%{User-Name}"
 radutmp: perm = 384
 radutmp: call