[asterisk-bugs] [Asterisk 0012163]: Asterisk segfaults when 'md5secret = userPassword' in res_ldap.conf

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Mar 7 09:54:35 CST 2008


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=12163 
====================================================================== 
Reported By:                gservat
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   12163
Category:                   Resources/res_config_ldap
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0-beta4 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-06-2008 14:31 CST
Last Modified:              03-07-2008 09:54 CST
====================================================================== 
Summary:                    Asterisk segfaults when 'md5secret = userPassword'
in res_ldap.conf
Description: 
Hi,

I had res_config_ldap working relatively well when I decided to change
md5secret to point at 'userPassword'. Reason for this is that I prefer to
manage one password attribute for each user, and not 2. Now, when I try and
connect from a SIP client, Asterisk segfaults (every time). If I change
md5secret back to AstAccountRealmedPassword, it starts working again
(sometimes it allows me to login with any password, other times it requires
the right password .. but that's another issue altogether)

I've attached the backtrace from gdb. Unfortunately my C is not good
enough (nor  my knowledge of the Asterisk internals) to troubleshoot this
one. I will happily test if someone finds the problem and attaches a
patch.

Thanks in advance!
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 03-07-08 09:54  
---------------------------------------------------------------------- 
Please recompile with DONT_OPTIMIZE and obtain a backtrace, as specified in
doc/backtrace.txt. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-07-08 09:54  Corydon76      Note Added: 0083597                          
03-07-08 09:54  Corydon76      Status                   assigned => feedback
======================================================================




More information about the asterisk-bugs mailing list