Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not authorize you from LDAP because "No such address or other socket error."

After update my gitlab instance to 6.8.1 the ldap login stopped to work.

When I try to login, I saw the error: Could not authorize you from LDAP because "No such address or other socket error." (https://i.sstatic.net/ttVgE.png)

Here the rake env:info and check: http://paste.ubuntu.com/7398134/

The rake gitlab:ldap:check --trace: http://paste.ubuntu.com/7398270/

Let me know if I can provide other specific logs or make my question more clear.

like image 397
ayr-ton Avatar asked Dec 30 '25 12:12

ayr-ton


1 Answers

It feels like someone messed up with the DNS confs. After fix the local DNS servers in /etc/resolv.conf, the gitlab instance starts to see the local servers again and the authentication starts to work again. Not a gitlab issue.

Fixed.

like image 163
ayr-ton Avatar answered Jan 01 '26 03:01

ayr-ton



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!