freeRadius, PEAP, MSCHAP, Segment Fault(coredump)

2005-01-04 Thread john . ctr . gauntt



Hi folks,
This is my second try at this post; the first was too long.  I read
the archives and then attempted to
configure freeRadius using PEAP MSCHAP.  After
some initial success I am
stuck with a Segment Fault(coredump).
I am using an Windows XP 802.1x  client, Cisco 1100 AP and  Sun
Solaris
ver. 8 for freeRadius 1.0.1.  After configuring the client, the AP
and the
radiusd.conf, the client.conf and the users files (not yet the eap.conf
file) I was successful in getting the freeRadius server to authenticate
the client.  Next I attempted to configure the client and the eap.conf
file for PEAP MSCHAP, resulting in the coredump.  Enabling PEAP results
in
error messages directing the configuration of TLS.  Enabling TLS results
in the coredump.  I have tried numerous combinations of configuration,
some of these I copied from the archive, with the same result.   The
"radius -X" output, the "gdb bt" output, the eap.conf
file, and a slice of the
radiusd.conf file follow this text.  I appreciate any help on this
problem.
Thanks,
John Gauntt

radiusd -X

Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /usr/local/etc/raddb/proxy.conf
Config:   including file: /usr/local/etc/raddb/clients.conf
Config:   including file: /usr/local/etc/raddb/snmp.conf
Config:   including file: /usr/local/etc/raddb/eap.conf
Config:   including file: /usr/local/etc/raddb/sql.conf
main: prefix = "/usr/local"
main: localstatedir = "/usr/local/var"
main: logdir = "/usr/local/var/log/radius"
main: libdir = "/usr/local/lib"
main: radacctdir = "/usr/local/var/log/radius/radacct"
main: hostname_lookups = no
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 = yes
main: log_stripped_names = no
main: log_file = "/usr/local/var/log/radius/radius.log"
main: log_auth = yes
main: log_auth_badpass = yes
main: log_auth_goodpass = yes
main: pidfile = "/usr/local/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: checkrad = "/usr/local/sbin/checkrad"
main: proxy_requests = yes
proxy: retry_delay = 5
proxy: retry_count = 3
proxy: synchronous = no
proxy: default_fallback = yes
proxy: dead_time = 120
proxy: post_proxy_authorize = yes
proxy: wake_all_if_all_dead = no
security: max_attributes = 200
security: reject_delay = 1
security: status_server = 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
read_config_files:  reading realms
radiusd:  entering modules setup
Module: Library search path is /usr/local/lib
Module: Loaded exec
exec: wait = yes
exec: program = "(null)"
exec: input_pairs = "request"
exec: output_pairs = "(null)"
exec: packet_type = "(null)"
rlm_exec: Wait=yes but no output defined. Did you
mean output=none?
Module: Instantiated exec (exec)
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded PAP
pap: encryption_scheme = "crypt"
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
mschap: use_mppe = no
mschap: require_encryption = yes
mschap: require_strong = yes
mschap: with_ntdomain_hack = no
mschap: passwd = "(null)"
mschap: authtype = "MS-CHAP"
mschap: ntlm_auth = "(null)"
Module: Instantiated mschap (mschap)
Module: Loaded System
unix: cache = no
unix: passwd = "(null)"
unix: shadow = "(null)"
unix: group = "(null)"
unix: radwtmp = "/usr/local/var/log/radius/radwtmp"
unix: usegroup = no
unix: cache_reload = 600
Module: Instantiated unix (unix)
Module: Loaded eap
eap: default_eap_type = "peap"
eap: timer_expire = 60
eap: ignore_unknown_eap_types = no
eap: cisco_accounting_username_bug = no
rlm_eap: Loaded and initialized type md5
rlm_eap: Loaded and initialized type leap
gtc: challenge = "Password: "
gtc: auth_type = "PAP"
rlm_eap: Loaded and initialized type gtc
Segmentation Fault(coredump)


gdb bt

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 "sparc-sun-solaris2.8"...
Core was generated by `radiusd -X'.
Program terminated with signal 9, Killed.
Reading symbols from /usr/lib/libcrypt_i.so.1...done.
Loaded symbols for /usr/lib/libcrypt_i.so.1
Reading symbols from /usr/local/lib/libradius-1.0.1.so...done.
Loaded symbols for /usr/local/lib/libradius-1.0.1.so
Reading symbols from /usr/local/lib/libltdl.so.3...done.
Loaded symbols for /usr/local/lib/libltdl.so.3
Reading symbols from /usr/lib/libdl.so.1...don

Re: freeRadius, PEAP, MSCHAP, Segment Fault(coredump)

2005-01-04 Thread Alan DeKok
[EMAIL PROTECTED] wrote:
> This is my second try at this post; the first was too long.  I read the 
> archives and then attempted to
> configure freeRadius using PEAP MSCHAP.  After some initial success I am
> stuck with a Segment Fault(coredump).

  It's another stupid bug in libltdl.  The fix is to do:

$ configure --disable-shared
$ make
$ make install

  Alan DeKok.

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


Re: freeRadius, PEAP, MSCHAP, Segment Fault(coredump)

2005-01-05 Thread john . ctr . gauntt

[EMAIL PROTECTED]
wrote:
>> This is my second try at this post; the first was too long.
 I read the 
>> archives and then attempted to
>> configure freeRadius using PEAP MSCHAP.  After some
initial success I am
>> stuck with a Segment Fault(coredump).

Alan Dekok wrote:
>  It's another stupid bug in libltdl.  The fix is to do:

>$ configure --disable-shared
>$ make
>$ make install

>  Alan DeKok.

I tried the configure switch and got another Segment Fault(coredump).  Is
there other debug information that is useful for resolving this problem?
Thanks,
John Gauntt 
[EMAIL PROTECTED]

Re: freeRadius, PEAP, MSCHAP, Segment Fault(coredump)

2005-01-05 Thread Alan DeKok
[EMAIL PROTECTED] wrote:
> I tried the configure switch and got another Segment Fault(coredump).

  If you look, you'll probably see the same problem.

  Delete ALL of the previously installed FreeRADIUS binaries and
libraries.  Then re-configure and re-make.

  Alan DeKok.


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