Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
LDAP + OTP AUthentication
« previous
next »
Print
Pages: [
1
]
Author
Topic: LDAP + OTP AUthentication (Read 10913 times)
guywyers
Newbie
Posts: 13
Karma: 3
LDAP + OTP AUthentication
«
on:
March 03, 2019, 12:55:56 pm »
Just upgraded to 19.2 and was delighted to find LDAP + 2FA authentication.
I succeeded in setting up a server (LDAP + Timebased One Time Password), but now I'm stuck in the next step:
How do I set up the OTP seeds for these LDAP users?
At first I thought I would have to import them as for normal LDAP users, but that doesn't seem possible. Did I overlook something?
Thanks for your help.
Logged
newsense
Hero Member
Posts: 1037
Karma: 77
Re: LDAP + OTP AUthentication
«
Reply #1 on:
March 03, 2019, 04:16:22 pm »
The QR code needs to be scanned by their phone app. Keep in mind this is a security feature, so sending out emails with QR codes might not be the best avenue
Logged
guywyers
Newbie
Posts: 13
Karma: 3
Re: LDAP + OTP AUthentication
«
Reply #2 on:
March 03, 2019, 04:48:20 pm »
Thanks, but the question is how do I get to see the QR code?
Say I have a user "johny" defined somewhere with the info accessible through LDAP. Where can I assign johny his initial OTP seed?
Should I explicitly add johny as a user? This seems strange, because in the simple LDAP scenario (without OTP) I can at least import users from the LDAP.
Logged
newsense
Hero Member
Posts: 1037
Karma: 77
Re: LDAP + OTP AUthentication
«
Reply #3 on:
March 04, 2019, 04:30:59 am »
Without LDAP you add a user and configure it. After saving you can see the QR code on demand and use the Tester function to verify it works.
I would expect this to help you - Step number 3 to be precise
https://docs.opnsense.org/manual/how-tos/user-ldap.html
Logged
jayjay
Newbie
Posts: 2
Karma: 0
Re: LDAP + OTP AUthentication
«
Reply #4 on:
September 27, 2019, 12:33:41 pm »
Hello,
i have exact the same question. How to get the QR Code for LDAP Users ?
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: LDAP + OTP AUthentication
«
Reply #5 on:
September 27, 2019, 12:35:10 pm »
On the individual user's account page.
Logged
jayjay
Newbie
Posts: 2
Karma: 0
Re: LDAP + OTP AUthentication
«
Reply #6 on:
September 27, 2019, 01:36:23 pm »
@Franco
I use LDAP so i have no individual page for the user.
If is use local users than thee is no problem to get the QR Code.
Or do i have to impor the user from LDAP to local?
Best regards
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: LDAP + OTP AUthentication
«
Reply #7 on:
September 27, 2019, 05:52:28 pm »
Well, yes, and, no... you need to import the LDAP users to the OPNsense so you can create OTP tokens for them and then you get to see the QR code.
This is necessary because the OTP is done locally on the OPNsense and the actual password is deferred to LDAP.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
LDAP + OTP AUthentication