Any assistance would be greatly appreciated. I'm trying to use tac_plus (actually TACGUI using tac_plus) to authenticate our switches against Windows Active Directory.
When using a LDAP proxy to add enterprise standard 2FA tac_plus doesn't like the response and keeps trying to re-authenticate resulting in ~ 30 MFA push requests with 0 successes.
99% of this is working fine, and if I LDAP directly against Windows AD things work as expected. The last part I need is to add 2FA into the mix. For this we use Duo Mobile (which might be the greatest 2FA in the world, yes, I drink the kool-aid). There is an LDAP proxy we use for tons of other LDAP authenticating tools (VPN, helpdesk tickets, remote desktop, firewalls, etc) but for some reason tac_plus doesn't like it.
It appears from the wireshark dumps that Duo LDAP proxy is returning a BIND SUCESS but tac_plus doesn't like it for some reason. I replied to another thread and Joerg kindly replied and suggested looking at LDAP_CONNECT_TIMEOUT. I don't think this is the issue because if I put the 2FA system in bypass mode it returns success immediately (in about 500ms).
Also, my version of tac_plus doesn't have the LDAP_CONNECT_TIMEOUT since i'm using the TACGUI package. I did try to download and install the latest version of tac_plus onto the system and adjusted LDAP_CONNECT_TIMEOUT to 30 but it didn't seem to make a difference. Since it made TACGUI very mad i rolled the virtual machine back to the previous snapshot so at least TACGUI was happy again.
I also have a ton of packet captures which I've dissected in Wireshark. I can clearly see the both LDAP connections (one from tacplus to Duo mobile and Duo Mobile to Windows AD LDAP) running and the result of both of them is bind success. I also did a packet capture of tacplus to Windows AD (bypassing the Duo LDAP proxy) and see the same result of bind success. The sessions look very similar and the only difference I can really see is that using the LDAP proxy it takes a minimum of 6 seconds
If I set Duo to 2FA bypass mode then the response is even faster (sub 1 second) but tac_plus fails. When in bypass mode I can see that tac_plus hammers the Duo proxy 30 times in about 15 seconds before giving up. I'm not sure if this is set to 30 times, 15 seconds, or some other metric to when it gives up. I don't have a packet capture of this but I can try to get one.
We use this same LDAP proxy to authenticate the same users in the same groups successfully so I'm scratching my head as to why this hasn't worked. I've spend about 12 hours now troubleshooting issues. If someone has an idea to fix it in 5 seconds I'll feel stupid but very grateful!
Any assistance is appreciated.
--Andrwe