Page 1 of 1

Active directory and user groups

Posted: Thu Jan 19, 2012 7:08 am
by gondolin
I have a working opeVPN AS, but when I configure through the webinterface to use Ldap for Authentication on a Windows 2008-R2, It work as long as I point it out to a OU. when I change to a security group in a OU there are Ldap authenticate errors.

Has anyone seen this kind of behavoiur or this setup ?

tx

Re: Active directory and user groups

Posted: Wed Jan 25, 2012 8:09 pm
by Mimiko
What errors dou you see? If this is related to LDAP would it best to ask on LDAP support forum?

Re: Active directory and user groups

Posted: Mon Jan 30, 2012 1:14 pm
by gondolin

Code: Select all

LDAP exception on ldap://172.16.1.11/ (facility='search ('cn=ovpn,ou=vpn,ou=Users-Home,dc=xxx,dc=net', 2, '(sAMAccountName=xxx)')'): user not found: 

cn=ovpn is a group and the users are configured for that group.

Re: Active directory and user groups

Posted: Tue Jan 31, 2012 7:49 am
by Mimiko
As I fought, "user not found" is stating that OpenVPN invokes connection to LDAP server correctly and LDAP server returns a normal responce that the user does not exists. Check LDAP DB to be assure that the user "ovpn" is really in ou=Users-Home.

Re: Active directory and user groups

Posted: Tue Jan 31, 2012 8:12 am
by gondolin
I think i'm doing something wrong here. ovpn is not a user but a group.
All my users are in the ou=Users-Home, and I create groups for each application with the nessesary users.

According to the properties is the windows LDAP I must use the 'cn=ovpn,ou=vpn,ou=Users-Home,dc=xxx,dc=net'