[Issues] [mod_auth_xradius 0000043]: Unable to configure multiple servers in one directory context

Mantis Bug Tracker issues at outoforder.cc
Thu Aug 27 09:00:53 EDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://issues.outoforder.cc/view.php?id=43 
====================================================================== 
Reported By:                richshaffer
Assigned To:                
====================================================================== 
Project:                    mod_auth_xradius
Issue ID:                   43
Category:                   Apache Integration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Apache Version:             2.0.46 
====================================================================== 
Date Submitted:             2005-09-12 20:20 EDT
Last Modified:              2009-08-27 09:00 EDT
====================================================================== 
Summary:                    Unable to configure multiple servers in one
directory context
Description: 
When configuring multiple RADIUS servers in one directory context, the
configuration stored in memory appears to become corrupt.  The RADIUS
server hostname string will show up as garbage or empty strings in the
Apache logs, like so:

[error] [client x.x.x.x] xradius: Failed to add server '!!s!!:1812': (-1)
!!s!!: host not found
[error] [client x.x.x.x] xradius: Failed to add server 'anguage:1812':
(-1) anguage: host not found
[error] [client x.x.x.x] xradius: Failed to add server ':1812': (-1) :
host not found

When configuring only one RADIUS server, the configuration works as
expected.
====================================================================== 
Total Sponsorship = US$ 10

2006-02-28 05:07: TeeSee (US$ 10) 
====================================================================== 

---------------------------------------------------------------------- 
 (0000062) TeeSee (reporter) - 2006-02-28 05:06
 http://issues.outoforder.cc/view.php?id=43#c62 
---------------------------------------------------------------------- 
The same problem occurs with debian stable and apache2.0.54

nexus:/var/log/apache2# apache2 -V
Server version: Apache/2.0.54
Server built:   Sep  5 2005 11:11:08
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/worker"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT=""
 -D SUEXEC_BIN="/usr/lib/apache2/suexec2"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf" 

---------------------------------------------------------------------- 
 (0000119) master (reporter) - 2008-09-06 10:18
 http://issues.outoforder.cc/view.php?id=43#c119 
---------------------------------------------------------------------- 
Patch attached (patch-mod_auth_xradius.c). Please take a look and try it
out. 

---------------------------------------------------------------------- 
 (0000177) Joost Bekkers (reporter) - 2009-08-27 09:00
 http://issues.outoforder.cc/view.php?id=43#c177 
---------------------------------------------------------------------- 
I ran into the same problem, the patch fixed it for me. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2005-09-12 20:20 richshaffer    New Issue                                    
2005-09-12 20:20 richshaffer    Apache Version            => 2.0.46          
2006-02-28 05:00 TeeSee         Issue Monitored: TeeSee                      
2006-02-28 05:06 TeeSee         Note Added: 0000062                          
2006-02-28 05:07 TeeSee         Sponsorship Added        TeeSee: US$ 10      
2006-02-28 05:07 TeeSee         Sponsorship Total        0 => 10             
2008-09-06 10:18 master         File Added: patch-mod_auth_xradius.c            
       
2008-09-06 10:18 master         Note Added: 0000119                          
2009-08-27 09:00 Joost Bekkers  Note Added: 0000177                          
======================================================================




More information about the Issues mailing list