projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
136b89e
)
Merged revisions 292523 via svnmerge from
author
Russell Bryant
<russell@russellbryant.com>
Thu, 21 Oct 2010 11:38:14 +0000
(11:38 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Thu, 21 Oct 2010 11:38:14 +0000
(11:38 +0000)
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.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@292524
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_config_ldap.c
patch
|
blob
|
history
diff --git
a/res/res_config_ldap.c
b/res/res_config_ldap.c
index
1cfe12c
..
d476be0
100644
(file)
--- a/
res/res_config_ldap.c
+++ b/
res/res_config_ldap.c
@@
-1321,7
+1321,8
@@
static int update_ldap(const char *basedn, const char *table_name, const char *a
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);