I have been struggling setting up LDAP for Active Directory on OpenVPN Access Service. I think I have the Bind DN working correctly now, but when I attempt to log in I receive the following error.
LDAP exception on ldap://172.30.1.203/ (facility='search (u'CN=Users, OU=Protected, OU=IT, OU=Managers, DN=grhousing, DC=grhousing, DC=grhc', 2, '(sAMAccountName=joe)')'): {'info': "0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:\n\t'DC=GRHC'\n", 'matched': 'DC=GRHC', 'desc': 'No such object'}: auth/authldap:122,ldap/ldapobject:591,ldap/ldapobject:503,ldap/ldapobject:507,ldap/ldapobject:514,ldap/ldapobject:521,ldap/ldapobject:106 (ldap.NO_SUCH_OBJECT
Configuring Active Directory LDAP
-
- OpenVpn Newbie
- Posts: 11
- Joined: Wed Aug 02, 2017 5:03 pm
-
- OpenVpn Newbie
- Posts: 11
- Joined: Wed Aug 02, 2017 5:03 pm
Re: Configuring Active Directory LDAP
I was able to solve the issue. Our AD server was configures to use OU's to store users. So I removed the CN=Users and replaced it with the appropriate OU's and bingo. I am able to connect.
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Configuring Active Directory LDAP
Yeah, we get that a lot. Glad you were able to figure it out by yourself.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.