You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by am...@apache.org on 2018/06/16 13:05:37 UTC

[ambari] branch trunk updated: AMBARI-24126. Ambari setup-ldap does not prompt for ldaps cert path, even when use-ssl is set to true (amagyar) (#1559)

This is an automated email from the ASF dual-hosted git repository.

amagyar pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new e57478e  AMBARI-24126. Ambari setup-ldap does not prompt for ldaps cert path, even when use-ssl is set to true (amagyar) (#1559)
e57478e is described below

commit e57478e712a58813e992f96cfe7c6a04835daab1
Author: Attila Magyar <m....@gmail.com>
AuthorDate: Sat Jun 16 15:05:30 2018 +0200

    AMBARI-24126. Ambari setup-ldap does not prompt for ldaps cert path, even when use-ssl is set to true (amagyar) (#1559)
---
 ambari-server/src/main/python/ambari-server.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ambari-server/src/main/python/ambari-server.py b/ambari-server/src/main/python/ambari-server.py
index b469087..09019f3 100755
--- a/ambari-server/src/main/python/ambari-server.py
+++ b/ambari-server/src/main/python/ambari-server.py
@@ -570,6 +570,10 @@ def init_ldap_setup_parser_options(parser):
   parser.add_option('--ldap-force-setup', action="store_true", default=False, help="Forces the use of LDAP even if other (i.e. PAM) authentication method is configured already or if there is no authentication method configured at all", dest="ldap_force_setup")
   parser.add_option('--ambari-admin-username', default=None, help="Ambari administrator username for accessing Ambari's REST API", dest="ambari_admin_username")
   parser.add_option('--ambari-admin-password', default=None, help="Ambari administrator password for accessing Ambari's REST API", dest="ambari_admin_password")
+  parser.add_option('--truststore-type', default=None, help="Type of TrustStore (jks|jceks|pkcs12)", dest="trust_store_type")
+  parser.add_option('--truststore-path', default=None, help="Path of TrustStore", dest="trust_store_path")
+  parser.add_option('--truststore-password', default=None, help="Password for TrustStore", dest="trust_store_password")
+  parser.add_option('--truststore-reconfigure', action="store_true", default=None, help="Force to reconfigure TrustStore if exits", dest="trust_store_reconfigure")
 
 @OsFamilyFuncImpl(OsFamilyImpl.DEFAULT)
 def init_setup_sso_options(parser):

-- 
To stop receiving notification emails like this one, please contact
amagyar@apache.org.