Browse Source

[core] Add auth and ldap configs and default values to ini templates

Jenny Kim 10 years ago
parent
commit
6849e7186f
2 changed files with 14 additions and 2 deletions
  1. 7 1
      desktop/conf.dist/hue.ini
  2. 7 1
      desktop/conf/pseudo-distributed.ini.tmpl

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

@@ -229,6 +229,9 @@
     # However, in order to enable OAuthBackend, it must be the ONLY backend configured.
     ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
 
+    # Class which defines extra accessor methods for User objects.
+    ## user_aug=desktop.auth.backend.DefaultUserAugmentor
+
     # The service to use when querying PAM.
     ## pam_service=login
 
@@ -285,6 +288,9 @@
     # URL of the LDAP server
     ## ldap_url=ldap://auth.mycompany.com
 
+    # The NT domain used for LDAP authentication
+    ## nt_domain=mycompany.com
+
     # 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
@@ -374,7 +380,7 @@
         ## ldap_url=ldap://auth.mycompany.com
 
         # The NT domain used for LDAP authentication
-        ## nt_domain=
+        ## nt_domain=mycompany.com
 
         # A PEM-format file containing certificates for the CA's that
         # Hue will trust for authentication over TLS.

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

@@ -233,6 +233,9 @@
     # However, in order to enable OAuthBackend, it must be the ONLY backend configured.
     ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
 
+    # Class which defines extra accessor methods for User objects.
+    ## user_aug=desktop.auth.backend.DefaultUserAugmentor
+
     # The service to use when querying PAM.
     ## pam_service=login
 
@@ -290,7 +293,7 @@
     ## ldap_url=ldap://auth.mycompany.com
 
     # The NT domain used for LDAP authentication
-    ## nt_domain=
+    ## nt_domain=mycompany.com
 
     # A PEM-format file containing certificates for the CA's that
     # Hue will trust for authentication over TLS.
@@ -380,6 +383,9 @@
         # URL of the LDAP server
         ## ldap_url=ldap://auth.mycompany.com
 
+        # The NT domain used for LDAP authentication
+        ## nt_domain=mycompany.com
+
         # 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