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
Mimiko What errors dou you see? If this is related to LDAP would it best to ask on LDAP support forum?
gondolin 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.
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.
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'