OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: Jan-HendrikHoelck on May 21, 2025, 01:56:49 PM

Title: LDAP + Timebased One Time Password - Probelm with Numbers
Post by: Jan-HendrikHoelck on May 21, 2025, 01:56:49 PM
Hi everyone,

i would like to use OpenVPN with LDAP + 2FA, but i cant Login with my User.
My User is working with the LDAP-Server WITHOUT 2FA.
At first i thought i made a mistake while configuring the Server.
I couldnt find a solution so i tried a simple User.
Username: test
Password: Vergessen
And to my suprise the Server LDAP + 2FA was working fine.
So i thouhgt there has to be a problem with special characters.

I then created 5 different Users with the special characters i am using.
1: test1 - Test.  -> Works fine
2: test2 - Test#  -> Works fine
3: test3 - Test!  -> Works fine
4: test.4 - Test#09! -> FAILED
5: test.5 - Test -> Works fine

So i thouhgt the Problem wasnt the special characters. The problem might be the Numbers.
I created another User:
6: test6 - Te#st! -> Works fine

So how could i resolve the Problem with Numbers in a Password? It is not an option to change the Password to anything except Numbers.

I am running OPNsense Version 25.1.7_2

Thx Jan-Hendrik