Kudos to Jan Zeleny who found the bug (or the bug found him) :-)
---
Fix a logging error in ipa-ldap-updater which may cause IPA
installer to crash.

https://fedorahosted.org/freeipa/ticket/1199

>From af0aa3dfd1d2f59c2937b58b95f977ff0a0b4337 Mon Sep 17 00:00:00 2001
From: Martin Kosek <mko...@redhat.com>
Date: Mon, 2 May 2011 13:55:33 +0200
Subject: [PATCH] LDAP Updater may crash IPA installer

Fix a logging error in ipa-ldap-updater which may cause IPA
installer to crash.

https://fedorahosted.org/freeipa/ticket/1199
---
 ipaserver/install/ldapupdate.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ipaserver/install/ldapupdate.py b/ipaserver/install/ldapupdate.py
index 0b5c9441aa988274362f9a848f2f22a002e72c87..9d36ddd11572e40e4fe50a19165d34acb4d94fa1 100644
--- a/ipaserver/install/ldapupdate.py
+++ b/ipaserver/install/ldapupdate.py
@@ -467,7 +467,7 @@ class LDAPUpdate:
                     # with single-value attributes.
                     if len(e) == 0:
                         e.append(v)
-                        logging.debug('addifnew: set %s to %s', (k, e))
+                        logging.debug('addifnew: set %s to %s', k, e)
                         entry.setValues(k, e)
                 elif utype == 'only':
                     logging.debug("only: set %s to '%s', current value %s", k, v, e)
-- 
1.7.4.4

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to