Hey,
So I've set up OpenVPN to authenticate to my office's domain, and everything seemed to work. However, this morning, I tried to add a new user to the OpenVPN user group, and allow them to log in. Part of our new user process is that the account must change its password on first login -- however, when a user attempts to authenticate to OpenVPN with an account that needs to change its password, they get the following error:
VPN-Server,USER,2014.10.20 10:37:54 CDT,,WEB_CLIENT,,0,127.0.0.1,,,,,"LDAP invalid credentials on ldap://domain.controller/: {'info': '80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 773, v1db1', 'desc': 'Invalid credentials'} (facility='user_bind on u'CN=users name,CN=Users,DC=my domain,DC=LOCAL' via search (u'CN=Users, DC=my domain, DC=local', 2, u'(&(sAMAccountName=username)(memberOf=CN=VPN Users, CN=Users, DC=my domain, DC=local))')')"
This registers to OpenVPN as an authentication failure. The 'data 773' field is the important one here -- this is specifically not a failure of authentication, just that the user needs to reset their password. Is there a way to allow OpenVPN users to authenticate despite this error? It seems that when a user encounters this particular LDAP response they should be allowed to log in.