Commit 406f4a99 authored by Patricio Cano's avatar Patricio Cano

Fixed headers for anchors

[ci skip]
parent cf232411
...@@ -207,9 +207,7 @@ the LDAP server's SSL certificate is performed. ...@@ -207,9 +207,7 @@ the LDAP server's SSL certificate is performed.
## Troubleshooting ## Troubleshooting
### Common problems ### Invalid credentials when logging in
**Invalid credentials when logging in**
Make sure the user you are binding with has enough permissions to read the user's Make sure the user you are binding with has enough permissions to read the user's
tree and traverse it. tree and traverse it.
...@@ -219,15 +217,12 @@ Also make sure that the `user_filter` is not blocking otherwise valid users. ...@@ -219,15 +217,12 @@ Also make sure that the `user_filter` is not blocking otherwise valid users.
To make sure that the LDAP settings are correct and GitLab can see your users, To make sure that the LDAP settings are correct and GitLab can see your users,
execute the following command: execute the following command:
For Omnibus installations:
```bash ```bash
# For Omnibus installations
sudo gitlab-rake gitlab:ldap:check sudo gitlab-rake gitlab:ldap:check
```
For installations from source: # For installations from source
```bash
sudo -u git -H bundle exec rake gitlab:ldap:check RAILS_ENV=production sudo -u git -H bundle exec rake gitlab:ldap:check RAILS_ENV=production
``` ```
...@@ -133,9 +133,7 @@ will be returned to GitLab and will be signed in. ...@@ -133,9 +133,7 @@ will be returned to GitLab and will be signed in.
## Troubleshooting ## Troubleshooting
### Common problems ### 500 error after login
**500 error after login**
If you see a "500 error" in GitLab when you are redirected back from the SAML sign in page, If you see a "500 error" in GitLab when you are redirected back from the SAML sign in page,
this likely indicates that GitLab could not get the email address for the SAML user. this likely indicates that GitLab could not get the email address for the SAML user.
...@@ -143,7 +141,7 @@ this likely indicates that GitLab could not get the email address for the SAML u ...@@ -143,7 +141,7 @@ this likely indicates that GitLab could not get the email address for the SAML u
Make sure the IdP provides a claim containing the user's email address, using claim name Make sure the IdP provides a claim containing the user's email address, using claim name
`email` or `mail`. `email` or `mail`.
**Redirect back to login screen with no evident error** ### Redirect back to login screen with no evident error
If after signing in into your SAML server you are redirected back to the sign in page and If after signing in into your SAML server you are redirected back to the sign in page and
no error is displayed, check your `production.log` file. It will most likely contain the no error is displayed, check your `production.log` file. It will most likely contain the
...@@ -155,13 +153,13 @@ To bypass this you can add `skip_before_action :verify_authenticity_token` to th ...@@ -155,13 +153,13 @@ To bypass this you can add `skip_before_action :verify_authenticity_token` to th
where it can then be seen in the usual logs, or as a flash message in the login where it can then be seen in the usual logs, or as a flash message in the login
screen. screen.
**Invalid audience** ### Invalid audience
This error means that the IdP doesn't recognize GitLab as a valid sender and This error means that the IdP doesn't recognize GitLab as a valid sender and
receiver of SAML requests. Make sure to add the GitLab callback URL to the approved receiver of SAML requests. Make sure to add the GitLab callback URL to the approved
audiences of the IdP server. audiences of the IdP server.
**Missing claims** ### Missing claims
The IdP server needs to pass certain information in order for GitLab to either The IdP server needs to pass certain information in order for GitLab to either
create an account, or match the login information to an existing account. `email` create an account, or match the login information to an existing account. `email`
...@@ -170,7 +168,7 @@ is not providing this information, all SAML requests will fail. ...@@ -170,7 +168,7 @@ is not providing this information, all SAML requests will fail.
Make sure this information is provided. Make sure this information is provided.
**Key validation error, Digest mismatch or Fingerprint mismatch** ### Key validation error, Digest mismatch or Fingerprint mismatch
These errors all come from a similar place, the SAML certificate. SAML requests These errors all come from a similar place, the SAML certificate. SAML requests
need to be validated using a fingerprint, a certificate or a validator. need to be validated using a fingerprint, a certificate or a validator.
......
...@@ -222,13 +222,13 @@ You can see from the above image that there are four references to GitLab: ...@@ -222,13 +222,13 @@ You can see from the above image that there are four references to GitLab:
## Troubleshooting ## Troubleshooting
**GitLab is unable to comment on a ticket** ### GitLab is unable to comment on a ticket
Make sure that the user you set up for GitLab to communicate with JIRA has the Make sure that the user you set up for GitLab to communicate with JIRA has the
correct access permission to post comments on a ticket and to also transition the correct access permission to post comments on a ticket and to also transition the
ticket, if you'd like GitLab to also take care of closing them. ticket, if you'd like GitLab to also take care of closing them.
**GitLab is unable to close a ticket** ### GitLab is unable to close a ticket
Make sure the the `Transition ID` you set within the JIRA settings matches the Make sure the the `Transition ID` you set within the JIRA settings matches the
one your project needs to close a ticket. one your project needs to close a ticket.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment