Hello All,
I am trying to configure Duo integration with LDAP Group mapping into OpenVPN Access Server 2.11.4, but openvpn allows only one script for the Post Auth, I've tried to merge both of the python scripts into one, but for some reason it only executes the duo script "which is the second function in the script" but the ldap group mapping does not work, openvpn support does not cover custom scripts, and I've exhausted google searches without any luck, so I would appreciate any help to get this working,
Thanks,
Duo Integration with LDAP Group mapping for Post Auth
-
- OpenVpn Newbie
- Posts: 3
- Joined: Fri May 19, 2023 6:02 pm
-
- OpenVpn Newbie
- Posts: 6
- Joined: Tue May 26, 2015 2:51 pm
Re: Duo Integration with LDAP Group mapping for Post Auth
Try running the LDAP mapping first, then call the Duo part. Also, check for any early returns in the script, those can stop it from running both parts. Debug prints helped me spot where it got stuck.