[asterisk-bugs] [Asterisk 0012523]: res_ldap (or chan_sip?) produces SegFault
noreply at bugs.digium.com
noreply at bugs.digium.com
Sat Apr 26 11:00:28 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: Resources/res_config_ldap
Reproducibility: always
Severity: crash
Priority: normal
Status: feedback
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-26-2008 11:00 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-26-08 11:00
----------------------------------------------------------------------
Hello,
I have played a little bit with my own Server, it's a 32 bit System.
When I use in my res_ldap.conf: md5secret = description, Asterisk crashes.
If I use secret = description, there's no crash. :-)
(Coredump follow's...)
But, what means the message: ERROR[6983]: res_config_ldap.c:1289
update_ldap: Couldn't modify dn:cn=phone1,ou=asterisk,dc=blacktux,dc=de
because Invalid syntax ??
I find no hint for this Update Problem. :-(
I attach my Config Files with the prefix "lupox" (this is the System Name
;-) ). Then there's no chaos. ;-)
Issue History
Date Modified Username Field Change
======================================================================
04-26-08 11:00 blacktux Note Added: 0086055
======================================================================
More information about the asterisk-bugs
mailing list