[Freeipa-devel] [PATCH] Fix the mod operations.

2010-12-21 Thread Pavel Zuna

*-mod operations were not functioning properly after the recent 'rename' patch.

Pavel
From 4f59a29a7f16a4dbdb8a39766968102a21fae1ed Mon Sep 17 00:00:00 2001
From: Pavel Zuna pz...@redhat.com
Date: Tue, 21 Dec 2010 16:17:28 +0100
Subject: [PATCH] Fix the mod operations.

---
 ipalib/plugins/baseldap.py |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py
index f8e5445..d91fd93 100644
--- a/ipalib/plugins/baseldap.py
+++ b/ipalib/plugins/baseldap.py
@@ -711,6 +711,7 @@ class LDAPUpdate(LDAPQuery, crud.Update):
 def _get_rename_option(self):
 rdnparam = getattr(self.obj.params, self.obj.rdnattr)
 return rdnparam.clone_rename('rename', cli_name='rename',
+required=False, label=_('Rename'),
 doc=_('Rename the %s object' % self.obj.object_name))
 
 def get_options(self):
-- 
1.7.3.3

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

Re: [Freeipa-devel] [PATCH] Fix the mod operations.

2010-12-21 Thread Simo Sorce
On Tue, 21 Dec 2010 16:42:03 +0100
Pavel Zuna pz...@redhat.com wrote:

 *-mod operations were not functioning properly after the recent
 'rename' patch.

ACK
Simo.

-- 
Simo Sorce * Red Hat, Inc * New York

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


Re: [Freeipa-devel] [PATCH] Fix the mod operations.

2010-12-21 Thread Rob Crittenden

Simo Sorce wrote:

On Tue, 21 Dec 2010 16:42:03 +0100
Pavel Zunapz...@redhat.com  wrote:


*-mod operations were not functioning properly after the recent
'rename' patch.


ACK
Simo.



pushed to master

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