LDAP authentication on AlmaLinux

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
DomenSe
OpenVpn Newbie
Posts: 1
Joined: Wed May 18, 2022 8:03 am

LDAP authentication on AlmaLinux

Post by DomenSe » Wed May 18, 2022 8:26 am

Hi community members,
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
When I try to authenticate over LDAP, I get a message (excerpt from openvpn log):

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

Post Reply