OSDN Git Service

Further explain userPrincipalName settings
authorJacob Vosmaer <contact@jacobvosmaer.nl>
Tue, 21 Jan 2014 12:33:29 +0000 (13:33 +0100)
committerJacob Vosmaer <contact@jacobvosmaer.nl>
Tue, 21 Jan 2014 12:33:29 +0000 (13:33 +0100)
config/gitlab.yml.example

index cdab54f..3a46a0a 100644 (file)
@@ -134,7 +134,8 @@ production: &base
     # - the user enters 'jane.doe@example.com' and 'p@ssw0rd' as LDAP credentials;
     # - GitLab queries the LDAP server with 'jane.doe' and 'p@ssw0rd'.
     #
-    # Disable this setting if you are using "uid: 'userPrincipalName'" on ActiveDirectory.
+    # If you are using "uid: 'userPrincipalName'" on ActiveDirectory you need to
+    # disable this setting, because the userPrincipalName contains an '@'.
     allow_username_or_email_login: true
 
   ## OmniAuth settings