Page 1 of 1

Configuring Active Directory LDAP

Posted: Tue Aug 15, 2017 8:38 pm
by carmonj
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

Re: Configuring Active Directory LDAP

Posted: Tue Sep 05, 2017 2:07 am
by carmonj
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.

Re: Configuring Active Directory LDAP

Posted: Tue Sep 05, 2017 8:23 am
by novaflash
Yeah, we get that a lot. Glad you were able to figure it out by yourself.