Summary:ASTERISK-17111: [patch] Ldap Can't modify unknown attribute
Reporter:Richard Genthner (moos3)Labels:
Date Opened:2010-12-15 12:10:13.000-0600Date Closed:2011-06-07 14:05:11
Versions:Frequency of
Environment:Attachments:( 0) res_config_ldap.patch
Description:With a ldap as the realtime source it will when it can't modify anything it returns:
res_config_ldap.c:1317 update_ldap: Couldn't modify dn:uid=rgenthner,ou=People,dc=example,dc=com because Undefined attribute type

Which doesn't give you any insight on what attribute its trying to modify


Here is how to get it to spit out more information so you can find out what you need to fix in your ldap settings

<Patch removed>
Comments:By: Richard Genthner (moos3) 2010-12-15 12:49:19.000-0600

Heres a better patch, fixes the error lines from running together

<Patch removed>
Please sign the license agreement then upload the code and tick the button.
</Patch removed>

By: Sean Bright (seanbright) 2011-01-30 09:13:13.000-0600

There is already a large section of debug output in this section, you just need to turn on debug logging to see it:

*CLI> core set debug 5</pre>
And make sure that debug logging is enabled somewhere in your logger.conf file.