Two-Factor Authentication With Google Authenticator And LDAP
Introduction
Earlier this year Google released their time-based one-time password (TOTP) solution named Google Authenticator. A TOTP is a single-use code with a finite lifetime that can be...
Published Dec 20, 2011
Version 1.0George_Watkins_
Historic F5 Account
Joined September 17, 2008
George_Watkins_
Historic F5 Account
Joined September 17, 2008
Pi_r_Ayotte_120
Apr 26, 2014Nimbostratus
If your LDAP password contains special characters the HTTP will failed even if you did enter the good password. To support special characters you will have to decode the password ($pass) before the HTTP authentication. Here it the part of the code that i modified:
set pdecode [URI::decode $pass]
AUTH::username_credential $auth_id $user
AUTH::password_credential $auth_id $pass
AUTH::password_credential $auth_id $pdecode