[asterisk-bugs] [Asterisk 0015805]: [patch] LDAP error while unregister UA
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Oct 21 08:19:25 CDT 2010
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=15805
======================================================================
Reported By: Dmitry Demchenko
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15805
Category: Resources/res_config_ldap
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.1.5
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1
SVN Revision (number only!): 215064
Request Review:
Resolution: suspended
Fixed in Version:
======================================================================
Date Submitted: 2009-08-31 15:50 CDT
Last Modified: 2010-10-21 08:19 CDT
======================================================================
Summary: [patch] LDAP error while unregister UA
Description:
Hi,
While unregistering peer the following message appers:
================
*CLI> [Aug 31 23:25:20] ERROR[13092]: res_config_ldap.c:1331 update_ldap:
Couldn't modify dn:cn=????? ????????,ou=???? ??????,ou=??????????????
??????????,l=??????,o=??????-??????,c=UA,c=Global because No such attribute
-- Unregistered SIP 'vtutov'
================
It's trying to LDAP_MOD_DELETE some atributes regardless of their
existance, and when are absent throws "No such attribute"
Please take in consideration that modifications are applied to set of
entries from ldap_search in turn, so there is no way to detect presence of
attributes before etry is actually processed.
Suggestion: need to check existance of attributes and delete only actual
ones.
Corresponding patch supplied.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-10-21 08:19 lmadsen Resolution open => suspended
======================================================================
More information about the asterisk-bugs
mailing list