[asterisk-bugs] [Asterisk 0012523]: res_ldap (or chan_sip?) produces SegFault

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 25 07:03:50 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12523 
====================================================================== 
Reported By:                blacktux
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12523
Category:                   . I did not set the category correctly.
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 114638 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-25-2008 06:25 CDT
Last Modified:              04-25-2008 07:03 CDT
====================================================================== 
Summary:                    res_ldap (or chan_sip?) produces SegFault
Description: 
Hello,

I've got a Problem with res_config_ldap. :-(

I configured extconfig.conf and  res_ldap.conf for my LDAP Database and
when I try to authenticate the Phone, Asterisk crashed with a segfault. 

I'm not sure if res_config_ldap causes the seg fault, because the last
Message looks like chan_sip:

Asterisk Ready.
  == Parsing '/etc/asterisk/cli.conf':   == Found
*CLI> [Apr 25 12:23:42] NOTICE[14301]: chan_sip.c:19867 build_peer: The
'username' field for sip peers has been deprecated in favor of the term
'defaultuser'
    -- Registered SIP 'alehmann' at 10.0.111.100 port 2048 expires 3600
       > Saved useragent "snom360/7.1.30" for peer alehmann
Segmentation fault

My settings are very small and only for testing the LDAP Connect. Maybe
the Problem is, that something missing??

What I've done:

- Testing 1.6.0 Branch
- Testing cvs Branc
- Testing 1.6.0-beta8
- Testing with Snom-360 Phone and Kphone 
- Testing on Gentoo and Debian 4.0 (both AMD64)

When I try to authenticate with a wrong Password, the Message says "wrong
Password", the SegFault only occured with the right Password. 

Any Help would be great





====================================================================== 

---------------------------------------------------------------------- 
 blacktux - 04-25-08 07:03  
---------------------------------------------------------------------- 
I think this Problem is a duplicate of Bug 0012163. :-( Sorry for that.

If I change md5secret to carLicense ;-) the Phone can register. :-)

Now, the message is:

[Apr 25 13:09:55] ERROR[28219]: res_config_ldap.c:1289 update_ldap:
Couldn't modify dn:uid=alehmann,ou=mitarbeiter,ou=people,dc=fsd,dc=li
because Undefined attribute type

But, this is another Problem. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-25-08 07:03  blacktux       Note Added: 0085989                          
======================================================================




More information about the asterisk-bugs mailing list