diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/auth.d/ldap_bind_dn.conf.example | 29 | ||||
-rw-r--r-- | conf/auth.d/ldap_simple_auth.conf.example | 30 | ||||
-rw-r--r-- | conf/auth.d/pam.conf.example | 10 | ||||
-rw-r--r-- | conf/auth.d/smtp.conf.example | 16 | ||||
-rw-r--r-- | conf/locale/locale_en-US.ini | 4 |
5 files changed, 88 insertions, 1 deletions
diff --git a/conf/auth.d/ldap_bind_dn.conf.example b/conf/auth.d/ldap_bind_dn.conf.example new file mode 100644 index 00000000..d2400f07 --- /dev/null +++ b/conf/auth.d/ldap_bind_dn.conf.example @@ -0,0 +1,29 @@ +# This is an example of LDAP (BindDN) authentication +# +id = 101 +type = ldap_bind_dn +name = LDAP BindDN +is_activated = true + +[config] +host = mydomain.com +port = 636 +# 0 - Unencrypted, 1 - LDAPS, 2 - StartTLS +security_protocol = 0 +skip_verify = false +bind_dn = +bind_password = +user_base = ou=Users,dc=mydomain,dc=com +attribute_username = +attribute_name = +attribute_surname = +attribute_mail = mail +attributes_in_bind = false +filter = (&(objectClass=posixAccount)(cn=%s)) +admin_filter = +group_enabled = false +group_dn = +group_filter = +group_member_uid = +user_uid = + diff --git a/conf/auth.d/ldap_simple_auth.conf.example b/conf/auth.d/ldap_simple_auth.conf.example new file mode 100644 index 00000000..5e50a74c --- /dev/null +++ b/conf/auth.d/ldap_simple_auth.conf.example @@ -0,0 +1,30 @@ +# This is an example of LDAP (simple auth) authentication +# +id = 102 +type = ldap_simple_auth +name = LDAP Simple Auth +is_activated = true + +[config] +host = mydomain.com +port = 636 +# 0 - Unencrypted, 1 - LDAPS, 2 - StartTLS +security_protocol = 0 +skip_verify = false +bind_dn = +bind_password = +user_base = +user_dn = cn=%s,ou=Users,dc=mydomain,dc=com +attribute_username = +attribute_name = +attribute_surname = +attribute_mail = mail +attributes_in_bind = false +filter = (&(objectClass=posixAccount)(cn=%s)) +admin_filter = +group_enabled = false +group_dn = +group_filter = +group_member_uid = +user_uid = + diff --git a/conf/auth.d/pam.conf.example b/conf/auth.d/pam.conf.example new file mode 100644 index 00000000..12f8d58f --- /dev/null +++ b/conf/auth.d/pam.conf.example @@ -0,0 +1,10 @@ +# This is an example of PAM authentication +# +id = 104 +type = pam +name = System Auth +is_activated = true + +[config] +service_name = system-auth + diff --git a/conf/auth.d/smtp.conf.example b/conf/auth.d/smtp.conf.example new file mode 100644 index 00000000..b8881dae --- /dev/null +++ b/conf/auth.d/smtp.conf.example @@ -0,0 +1,16 @@ +# This is an example of SMTP authentication +# +id = 103 +type = smtp +name = GMail +is_activated = true + +[config] +# Either "PLAIN" or "LOGIN" +auth = PLAIN +host = smtp.gmail.com +port = 587 +allowed_domains = +tls = true +skip_verify = false + diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini index 29428418..e2c791de 100644 --- a/conf/locale/locale_en-US.ini +++ b/conf/locale/locale_en-US.ini @@ -151,6 +151,8 @@ register_hepler_msg = Already have an account? Sign in now! social_register_hepler_msg = Already have an account? Bind now! disable_register_prompt = Sorry, registration has been disabled. Please contact the site administrator. disable_register_mail = Sorry, email services are disabled. Please contact the site administrator. +auth_source = Authentication Source +local = Local remember_me = Remember Me forgot_password= Forgot Password forget_password = Forgot password? @@ -229,6 +231,7 @@ org_name_been_taken = Organization name has already been taken. team_name_been_taken = Team name has already been taken. email_been_used = Email address has already been used. username_password_incorrect = Username or password is not correct. +auth_source_mismatch = The authentication source selected is not associated with the user. enterred_invalid_repo_name = Please make sure that the repository name you entered is correct. enterred_invalid_owner_name = Please make sure that the owner name you entered is correct. enterred_invalid_password = Please make sure the that password you entered is correct. @@ -1128,7 +1131,6 @@ auths.enable_tls = Enable TLS Encryption auths.skip_tls_verify = Skip TLS Verify auths.pam_service_name = PAM Service Name auths.enable_auto_register = Enable Auto Registration -auths.tips = Tips auths.edit = Edit Authentication Setting auths.activated = This authentication is activated auths.new_success = New authentication '%s' has been added successfully. |