[Freeipa-devel] [PATCH] 81 ipa-adtrust-install: remove wrong check for dm_password

Sumit Bose sbose at redhat.com
Thu Oct 4 09:43:27 UTC 2012


Hi,

this patch fixes unattended installation for ipa-adtrust-install and
ticket https://fedorahosted.org/freeipa/ticket/3023 .

bye,
Sumit
-------------- next part --------------
From 4a4532e8d57cf76c39f2d9483683edee01648f2f Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Thu, 4 Oct 2012 11:37:45 +0200
Subject: [PATCH] ipa-adtrust-install: remove wrong check for dm_password

Additionally this patch removes a comment which makes no sense at this
place anymore.

Fixes https://fedorahosted.org/freeipa/ticket/3023
---
 install/tools/ipa-adtrust-install | 4 ----
 1 Datei ge?ndert, 4 Zeilen entfernt(-)

diff --git a/install/tools/ipa-adtrust-install b/install/tools/ipa-adtrust-install
index f50bb58213ac0681cd8bda0a449ae21c48e6adb8..52179038e84a08ea6abb3ee26d8e668efe0a2b13 100755
--- a/install/tools/ipa-adtrust-install
+++ b/install/tools/ipa-adtrust-install
@@ -197,10 +197,6 @@ def main():
         print "Please wait until the prompt is returned."
         print ""
 
-    # Create a Adtrust instance
-    if options.unattended and not options.dm_password:
-        sys.exit("\nIn unattended mode you need to provide at least the -p option")
-
     netbios_name = options.netbios_name
     if not netbios_name:
         netbios_name = adtrustinstance.make_netbios_name(api.env.domain)
-- 
1.7.11.4



More information about the Freeipa-devel mailing list