[asterisk-bugs] [Asterisk 0013861]: ERROR[23999]: res_config_ldap.c:1292 update_ldap: Couldn't modify ... Undefined attribute type

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 21 07:51:49 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13861 
====================================================================== 
Reported By:                scramatte
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   13861
Category:                   Resources/res_config_ldap
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.6.0.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-11-07 11:24 CST
Last Modified:              2010-10-21 07:51 CDT
====================================================================== 
Summary:                    ERROR[23999]: res_config_ldap.c:1292 update_ldap:
Couldn't modify   ...  Undefined attribute type
Description: 
my Asterisk return me this error on SIP register :

ERROR[23999]: res_config_ldap.c:1292 update_ldap: Couldn't modify
dn:cn=200,ou=Telephony,dc=example,dc=com because Undefined attribute type

In spite of this message I can call and receive calls.

I haven't got more details ... 
I've run Asterisk  with  -vvvvvvvvvvvvvvvvgc    


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013660 Provide working demo users for ldap/rea...
related to          0014334 Documentation for configuration of res_...
====================================================================== 

---------------------------------------------------------------------- 
 (0128271) lmadsen (administrator) - 2010-10-21 07:51
 https://issues.asterisk.org/view.php?id=13861#c128271 
---------------------------------------------------------------------- 
I'm still kind of getting this error, although I'm not entirely sure why.
I've gotten the ERROR line modified to tell me what it doesn't like, and it
seems to be that Asterisk is for some reason trying to update the 'name'
field (our cn) which seems odd to me. Perhaps I"m misunderstanding.


[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:1713 ldap_reconnect:
Everything seems fine.
[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:635 substituted:
substituted: string: 'ou=people,dc=shifteight,dc=org' =>
'ou=people,dc=shifteight,dc=org' 
[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:662 cleaned_basedn:
basedn: 'ou=people,dc=shifteight,dc=org' =>
'ou=people,dc=shifteight,dc=org' 
[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:699
append_var_and_value_to_filter: name='name' value='RussellBryant'
[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:1311 update_ldap:
LINE(1311) Modifying name=RussellBryant hits: 1
[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:1314 update_ldap:
LINE(1314) AstAccountIPAddress=172.16.0.112 
[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:1314 update_ldap:
LINE(1314) AstAccountPort=39769 
[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:1314 update_ldap:
LINE(1314) AstAccountExpirationTimestamp=1287669035 
[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:1314 update_ldap:
LINE(1314) AstAccountDefaultUser=RussellBryant 
[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:1314 update_ldap:
LINE(1314) AstAccountUserAgent=Zoiper rev.6848 
[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:1314 update_ldap:
LINE(1314) AstAccountLastQualifyMilliseconds=0 
[Oct 21 08:50:35] DEBUG[13075]: res_config_ldap.c:1314 update_ldap:
LINE(1314)
gecos=sip:RussellBryant at 172.16.0.112:39769;rinstance=348f7e0dfbae404a;transport=UDP

[Oct 21 08:50:35] ERROR[13075]: res_config_ldap.c:1324 update_ldap:
Couldn't modify 'name'='RussellBryant',
dn:uid=rbryant,ou=people,dc=shifteight,dc=org because Object class
violation 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-21 07:51 lmadsen        Note Added: 0128271                          
======================================================================




More information about the asterisk-bugs mailing list