Yarra
1
Hello,
i use gitlab community edition 18.6.0 with ldap authtorization.
LDAP auth is work - users can login via web/git.
I can fins users in Admin → Users by name/username.
When i try adding user to group or project gitlab return “No matches found“.
It seems this started happening after one of the updates; searching worked before. How can I determine the error and fix it?
Yarra
2
I solved it by myself.
The problem was in the incorrectly configured container and nginx proxy.
I added to docker-compose.yml:
external_url ‘``https://git.my-best.domian``’
nginx[‘listen_port’] = 80
nginx[‘listen_https’] = false
And add to nginx correct options for proxy:
proxy_redirect https://$host/ https://$http_host/;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Ssl on;
proxy_redirect http:// https://;
It solved problem with populate user lists and get tokens.
2 Likes