The host managed-by adder dialog has been fixed to use the new
--not-man-hosts option to filter out hosts that are already added.

Ticket #1675

--
Endi S. Dewata
From eae9ad84dc9d600c2ddcb3602b4020436d1e4fb2 Mon Sep 17 00:00:00 2001
From: Endi Sukma Dewata <edew...@redhat.com>
Date: Fri, 9 Dec 2011 15:01:06 -0600
Subject: [PATCH] Fixed host managed-by adder dialog.

The host managed-by adder dialog has been fixed to use the new
--not-man-hosts option to filter out hosts that are already added.

Ticket #1675
---
 install/ui/association.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/install/ui/association.js b/install/ui/association.js
index 2fbdb7ddec6baa5169732004ef7943f2eaf08930..58ed1a0fca1b62d0557dd0abbb9cba28ac4cdc13 100644
--- a/install/ui/association.js
+++ b/install/ui/association.js
@@ -207,6 +207,8 @@ IPA.association_adder_dialog = function(spec) {
             other_attribute_member = 'memberof';
         else if (that.attribute_member == 'memberof')
             other_attribute_member = 'member';
+        else if (that.attribute_member == 'managedby')
+            other_attribute_member = 'managing';
 
         var relationship = relationships[other_attribute_member];
         if (relationship) {
-- 
1.7.6.4

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

Reply via email to