openvpn
This is an old revision of the document!
Table of Contents
OpenVpn
Domain Joining OpenVpn
To domain join the OpenVpn server do the following:
Configure the Server to use LDAP:
Bind DN: | CN=Admin, OU=Users, OU=basic, DC=basic, DC=local |
Password: | <YOURPASSWOD> |
Base DN for User Entities: | OU=Users, OU=basic, DC=basic, DC=local |
Username Attribute: | sAMAccountName |
Debug
To Debug check the logs: cat /var/log/openvpnas.log
Means the LDAP bind user credentials ae wrong. Here basic.local\Admin:
2018-02-12 16:15:53+0000 [-] LDAP invalid credentials on ldap://21.1.2.39/: {'info': '80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580', 'desc': 'Invalid credentials'} (facility='admin_bind to [basic.local\Admin]') (user='first.user')
Means the user credentials are wrong. Here s000001
LDAP invalid credentials on ldap://21.1.2.39/: {'info': '80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580', 'desc': 'Invalid credentials'} (facility='user_bind on u'CN=s000001,OU=Users,OU=basic,DC=basic,DC=local' via search (u'OU=Users, OU=basic, DC=basic, DC=local', 2, '(sAMAccountName=s000001)')') (user='s000001')
openvpn.1518454746.txt.gz · Last modified: (external edit)