[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 Jan 15 16:47:46 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13861 
====================================================================== 
Reported By:                scramatte
Assigned To:                blitzrage
====================================================================== 
Project:                    Asterisk
Issue ID:                   13861
Category:                   Resources/res_config_ldap
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0.1 
Regression:                 No 
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:              2009-01-15 16:47 CST
====================================================================== 
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...
====================================================================== 

---------------------------------------------------------------------- 
 (0097980) jcovert (reporter) - 2009-01-15 16:47
 http://bugs.digium.com/view.php?id=13861#c97980 
---------------------------------------------------------------------- 
Here's a bit more info, and I think it should be a comment in res_ldap.conf
right after the place where we changed "name = uid" to "name = cn".

# We use the "cn" as the default value for name on the line above
# because objectClass=AsteriskSIPUser does not include a uid as an allowed
field
# If your entry combines other objectClasses and uid is available, you
may
# prefer to change the line to be name = uid, especially if your LDAP
entries
# contain spaces in the cn field.
# You may also find it appropriate to use something completely different.
# This is possible by changing the line above to name = AstAccountName 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-15 16:47 jcovert        Note Added: 0097980                          
======================================================================




More information about the asterisk-bugs mailing list