If krb is explicitly 'no' do not check for ipa
[cascardo/ipsilon.git] / ipsilon / helpers / ipa.py
index 722b404..54d5199 100755 (executable)
@@ -168,6 +168,8 @@ class Installer(object):
     def configure_server(self, opts):
         if opts['ipa'] != 'yes' and opts['ipa'] != 'auto':
             return
+        if opts['ipa'] != 'yes' and opts['krb'] == 'no':
+            return
 
         self.logger = logging.getLogger()