Uhh...I think I forgot something...
What is the flag to compile radiusd with all modules built statically and no dependencies?? I think the problem is that the new radiusd is using the 0.5 rlm libs....ooops! -Dave > radiusd -X output (gdb output below) > > [root@ns1 root]# /usr/local/sbin/radiusd.new -X -p 1645 > Starting - reading configuration files ... > reread_config: reading radiusd.conf > Config: including file: /etc/radius/clients.conf > main: prefix = "/usr/local" > main: localstatedir = "/var" > main: logdir = "/var/log/00radiusd" > main: libdir = "/usr/local/lib" > main: radacctdir = "/var/log/00radiusd" > 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 = 8 > main: max_requests = 1024 > main: delete_blocked_requests = 0 > main: port = 1812 > main: allow_core_dumps = no > main: log_stripped_names = yes > main: log_auth = yes > main: log_auth_badpass = yes > main: log_auth_goodpass = yes > main: pidfile = "/var/run/radiusd.pid" > main: bind_address = x.x.x.x IP address [x.x.x.x] > main: user = "radiusd" > main: group = "radiusd" > main: usercollide = no > main: lower_user = "before" > main: lower_pass = "no" > main: nospace_user = "before" > main: nospace_pass = "before" > main: proxy_requests = no > main: debug_level = 0 > read_config_files: entering modules setup > Module: Library search path is /usr/local/lib > Module: Loaded System > unix: cache = no > unix: passwd = "(null)" > unix: shadow = "(null)" > unix: group = "(null)" > unix: radwtmp = "/var/log/00radiusd/radwtmp" > unix: usegroup = no > unix: cache_reload = 600 > Module: Instantiated unix (unix) > Module: Loaded preprocess > preprocess: huntgroups = "/etc/radius/huntgroups" > preprocess: hints = "/etc/radius/hints" > preprocess: with_ascend_hack = yes > 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 files > files: usersfile = "/etc/radius/users" > files: acctusersfile = "/etc/radius/acct_users" > files: compat = "no" > Module: Instantiated files (files) > Module: Loaded Acct-Unique-Session-Id > acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, > Client-IP-Address, NAS-Port-Id" > Module: Instantiated acct_unique (acct_unique) > Module: Loaded detail > detail: detailfile = "/var/log/00radiusd/rad_%{Client-IP-Address}.log" > detail: detailperm = 384 > detail: dirperm = 493 > Module: Instantiated detail (detail) > Module: Loaded radutmp > radutmp: filename = "/var/log/00radiusd/radutmp" > radutmp: username = "%{User-Name}" > radutmp: perm = 384 > radutmp: callerid = yes > Module: Instantiated radutmp (radutmp) > Listening on IP address x.x.x.x, ports 1645/udp and 1646/udp. > Ready to process requests. > rad_recv: Access-Request packet from host 63.237.163.32:1312, id=0, > length=59 > User-Name = "username" > Password = "uf\030\031x|\300\252\315+\310x\371:y%" > rad_lowerpair: User-Name now 'username' > rad_rmspace_pair: User-Name now 'username' > rad_rmspace_pair: Password now 'password' > modcall: entering group authorize > Segmentation fault > > > gdb output > > (gdb) run -X -p 1645 > Starting program: /usr/local/sbin/radiusd.new -X -p 1645 > [New Thread 1024 (LWP 16348)] > Starting - reading configuration files ... > reread_config: reading radiusd.conf > Config: including file: /etc/radius/clients.conf > main: prefix = "/usr/local" > main: localstatedir = "/var" > main: logdir = "/var/log/00radiusd" > main: libdir = "/usr/local/lib" > main: radacctdir = "/var/log/00radiusd" > 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 = 8 > main: max_requests = 1024 > main: delete_blocked_requests = 0 > main: port = 1812 > main: allow_core_dumps = no > main: log_stripped_names = yes > main: log_auth = yes > main: log_auth_badpass = yes > main: log_auth_goodpass = yes > main: pidfile = "/var/run/radiusd.pid" > main: bind_address = x.x.x.x IP address [x.x.x.x] > main: user = "radiusd" > main: group = "radiusd" > main: usercollide = no > main: lower_user = "before" > main: lower_pass = "no" > main: nospace_user = "before" > main: nospace_pass = "before" > main: proxy_requests = no > main: debug_level = 0 > read_config_files: entering modules setup > Module: Library search path is /usr/local/lib > Module: Loaded System > unix: cache = no > unix: passwd = "(null)" > unix: shadow = "(null)" > unix: group = "(null)" > unix: radwtmp = "/var/log/00radiusd/radwtmp" > unix: usegroup = no > unix: cache_reload = 600 > Module: Instantiated unix (unix) > Module: Loaded preprocess > preprocess: huntgroups = "/etc/radius/huntgroups" > preprocess: hints = "/etc/radius/hints" > preprocess: with_ascend_hack = yes > 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 files > files: usersfile = "/etc/radius/users" > files: acctusersfile = "/etc/radius/acct_users" > files: compat = "no" > Module: Instantiated files (files) > Module: Loaded Acct-Unique-Session-Id > acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, > Client-IP-Address, NAS-Port-Id" > Module: Instantiated acct_unique (acct_unique) > Module: Loaded detail > detail: detailfile = "/var/log/00radiusd/rad_%{Client-IP-Address}.log" > detail: detailperm = 384 > detail: dirperm = 493 > Module: Instantiated detail (detail) > Module: Loaded radutmp > radutmp: filename = "/var/log/00radiusd/radutmp" > radutmp: username = "%{User-Name}" > radutmp: perm = 384 > radutmp: callerid = yes > Module: Instantiated radutmp (radutmp) > Listening on IP address x.x.x.x, ports 1645/udp and 1646/udp. > Ready to process requests. > rad_recv: Access-Request packet from host 63.237.163.32:1313, id=1, > length=59 > User-Name = "username " > Password = "#\207f\362k\314\327\337/\317\212\347\253Tm\244" > rad_lowerpair: User-Name now 'username ' > rad_rmspace_pair: User-Name now 'username' > rad_rmspace_pair: Password now 'password' > modcall: entering group authorize > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 1024 (LWP 16348)] > 0x40019e98 in rad_mangle (data=0x80c7b18, request=0x80ce200) at > rlm_preprocess.c:154 > 154 rlm_preprocess.c: No such file or directory. > in rlm_preprocess.c > > > > > > > > > > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html