소스 검색

[desktop] Change comments describing LDAPS config

Abraham Elmahrek 12 년 전
부모
커밋
b3c118b298
3개의 변경된 파일11개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 1
      desktop/conf.dist/hue.ini
  2. 5 1
      desktop/conf/pseudo-distributed.ini.tmpl
  3. 1 1
      desktop/core/src/desktop/conf.py

+ 5 - 1
desktop/conf.dist/hue.ini

@@ -118,7 +118,11 @@
   # URL of the LDAP server
   ## ldap_url=ldap://auth.mycompany.com
 
-  # Path to certificate for authentication over TLS
+  # A PEM-format file containing certificates for the CA's that
+  # Hue will trust for authentication over TLS.
+  # The certificate for the CA that signed the
+  # LDAP server certificate must be included among these certificates.
+  # See more here http://www.openldap.org/doc/admin24/tls.html.
   ## ldap_cert=
 
   # Distinguished name of the user to bind as -- not necessary if the LDAP server

+ 5 - 1
desktop/conf/pseudo-distributed.ini.tmpl

@@ -127,7 +127,11 @@
   # URL of the LDAP server
   ## ldap_url=ldap://auth.mycompany.com
 
-  # Path to certificate for authentication over TLS
+  # A PEM-format file containing certificates for the CA's that
+  # Hue will trust for authentication over TLS.
+  # The certificate for the CA that signed the
+  # LDAP server certificate must be included among these certificates.
+  # See more here http://www.openldap.org/doc/admin24/tls.html.
   ## ldap_cert=
 
   # Distinguished name of the user to bind as -- not necessary if the LDAP server

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -299,7 +299,7 @@ LDAP = ConfigSection(
                      help=_("The LDAP URL to connect to.")),
     LDAP_CERT=Config("ldap_cert",
                      default=None,
-                     help=_("The LDAP certificate for authentication over TLS.")),
+                     help=_("A PEM-format file containing certificates for the CA's that Hue will trust for authentication over TLS. The certificate for the CA that signed the LDAP server certificate must be included among these certificates. See more here http://www.openldap.org/doc/admin24/tls.html.")),
     LDAP_USERNAME_PATTERN=Config("ldap_username_pattern",
                                  default=None,
                                  help=_("A pattern to use for constructing LDAP usernames.")),