Page 1 of 1

Duo Integration with LDAP Group mapping for Post Auth

Posted: Tue Dec 05, 2023 9:54 pm
by anazary
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,

Re: Duo Integration with LDAP Group mapping for Post Auth

Posted: Wed Oct 30, 2024 4:39 pm
by mcdutch
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.