I have a problem with LDAP authentication for OpenVPN.
My environment:
- AlmaLinux 8.6
openvpn 2.4.12-1
openvpn-auth-ldap 2.0.4-6
10.1.0.122:51137 peer info: IV_VER=3.git::d3f8b18b
10.1.0.122:51137 peer info: IV_PLAT=win
10.1.0.122:51137 peer info: IV_NCP=2
10.1.0.122:51137 peer info: IV_TCPNL=1
10.1.0.122:51137 peer info: IV_PROTO=30
10.1.0.122:51137 peer info: IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305
10.1.0.122:51137 peer info: IV_GUI_VER=OCWindows_3.3.6-2752
10.1.0.122:51137 peer info: IV_SSO=webauth,openurl,crtext
LDAP search failed: Operations error (000004DC: LdapErr: DSID-0C090A71, comment: In order to perform this operation a successful bind must be completed on the c onnection., data 0, v3839)
LDAP user "domen" was not found.
LDAP authentication works normaly on my second server (Centos 7.8.2003, openvpn 2.4.9-1, openvpn-auth-ldap 2.0.3-17)
I'm using the same ldap.conf file on both of my openvpn servers.
Does anyone have an idea what could be wrong?
Regards
Domen