[asterisk-commits] russell: trunk r292524 - in /trunk: ./ res/res_config_ldap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 21 06:38:16 CDT 2010


Author: russell
Date: Thu Oct 21 06:38:14 2010
New Revision: 292524

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=292524
Log:
Merged revisions 292523 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r292523 | russell | 2010-10-21 06:36:47 -0500 (Thu, 21 Oct 2010) | 4 lines
  
  Add var=value to log message on update failure, and add newline.
  
  ... just for you, Leif.
........

Modified:
    trunk/   (props changed)
    trunk/res/res_config_ldap.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/res/res_config_ldap.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_config_ldap.c?view=diff&rev=292524&r1=292523&r2=292524
==============================================================================
--- trunk/res/res_config_ldap.c (original)
+++ trunk/res/res_config_ldap.c Thu Oct 21 06:38:14 2010
@@ -1321,7 +1321,8 @@
 		for (i = 0; ldap_entry; i++) { 
 			dn = ldap_get_dn(ldapConn, ldap_entry);
 			if ((error = ldap_modify_ext_s(ldapConn, dn, ldap_mods, NULL, NULL)) != LDAP_SUCCESS)  {
-				ast_log(LOG_ERROR, "Couldn't modify dn:%s because %s", dn, ldap_err2string(error));
+				ast_log(LOG_ERROR, "Couldn't modify '%s'='%s', dn:%s because %s\n",
+						attribute, lookup, dn, ldap_err2string(error));
 			}
 
 			ldap_entry = ldap_next_entry(ldapConn, ldap_entry);




More information about the asterisk-commits mailing list