Configuring Active Directory LDAP

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
carmonj
OpenVpn Newbie
Posts: 11
Joined: Wed Aug 02, 2017 5:03 pm

Configuring Active Directory LDAP

Post by carmonj » Tue Aug 15, 2017 8:38 pm

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

carmonj
OpenVpn Newbie
Posts: 11
Joined: Wed Aug 02, 2017 5:03 pm

Re: Configuring Active Directory LDAP

Post by carmonj » Tue Sep 05, 2017 2:07 am

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.

User avatar
novaflash
OpenVPN Inc.
Posts: 1073
Joined: Fri Apr 13, 2012 8:43 pm

Re: Configuring Active Directory LDAP

Post by novaflash » Tue Sep 05, 2017 8:23 am

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.

Post Reply