Login to LinOTP self service

743 views
Skip to first unread message

Moustapha Amadou Diouf

unread,
Jun 5, 2015, 1:53:02 PM6/5/15
to lin...@googlegroups.com
Hello,

I have a few questions concerning the authentication of a user to the self service panel.
First of all, I created a useridresolver with mysql and for the purpose of testing added 3 columns : username, userid and password.
Second of all, I added a realm mag and tied it to the useridresolver.
Next, I enrolled a token and assigned it to the user Moos.

Once everything was done, I decided to connect to the my_otp_server/account/login to see if user Moos can login to the self service panel.

I entered Moos as a username, mag as a realm and test for the password but it is not working. I have been working on it these past two days but I do not know it missed something from the documentation or the mySL database table is just not set properly to tell linOTP what my password is.

I added screenshots of my configuration.

Help would be appreciated.
Best regards.
Madmous.  

login.png
mysql.png
token.png

Kay Winkler

unread,
Jun 7, 2015, 9:18:39 PM6/7/15
to lin...@googlegroups.com
Dear Moustapha,

sorry for the hassle - the answer is simple though.

LinOTP support the passwords in the SQL database in a
hashed way - though there is no defacto standard, there
is a standard which is used by some applications.

With your LinOTP there comes a tool, which is called:

linotp-create-sqlidresolver-user

that creates the relevant data on the command output
either as CSV or SQL statements

Parameters to the tool are
-u user name
-i user id
-p password
-s SHA512 : hash algorithm, either SHA256 or SHA512
-o output format : format could be SQL or CSV

Best regards,

Kay
> --
> You received this message because you are subscribed to the Google
> Groups "LinOTP" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to linotp+un...@googlegroups.com
> <mailto:linotp+un...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/linotp.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/linotp/f7b15616-b3a3-423c-aaf7-9cf8ad0352dc%40googlegroups.com
> <https://groups.google.com/d/msgid/linotp/f7b15616-b3a3-423c-aaf7-9cf8ad0352dc%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

--
Kay Winkler (Software Development) <Kay.W...@lsexperts.de>
Mobil: +49 1751 874 258, Phone: +49 6151 860 86 262, Fax: 299

LSE Leading Security Experts GmbH, Postfach 100121, 64201 Darmstadt
Geschäftsführer: Oliver Michel, Sven Walther, http://www.lsexperts.de
Unternehmenssitz: Weiterstadt, Amtsgericht Darmstadt: HRB8649

Kay_Winkler.vcf
Message has been deleted

Moustapha Amadou Diouf

unread,
Jun 8, 2015, 7:15:48 AM6/8/15
to lin...@googlegroups.com
Hello Kayle,

Thank you for your help.
Your instructions werre very clear.
My problem is solved.

Have a great day.
Best regards.

Madmous.

Kay Winkler

unread,
Jun 8, 2015, 8:13:51 AM6/8/15
to lin...@googlegroups.com
Dear Madmous,


(: I guess, you found out in
between that you need to add
the selfservice actions :)



Best regards,

Kay


Am 08.06.2015 um 13:05 schrieb Moustapha Amadou Diouf:
> Hello Kay,
>
> Thank you for your response. I was able to follow your instructions and
> create a useridresolver with a mysql output and update my databse with it.
> I can now login with my username and password. However, i noticed that
> the UI is missing (I added a picture of my page).
>
> Do you have any idea what that could be?
>
> Best regards,
> Madmous
>
> --
> You received this message because you are subscribed to the Google
> Groups "LinOTP" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to linotp+un...@googlegroups.com
> <mailto:linotp+un...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/linotp.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/linotp/e67a9a9e-0752-4037-aa15-f018fbdcb7a8%40googlegroups.com
> <https://groups.google.com/d/msgid/linotp/e67a9a9e-0752-4037-aa15-f018fbdcb7a8%40googlegroups.com?utm_medium=email&utm_source=footer>.
Kay_Winkler.vcf

Moustapha Amadou Diouf

unread,
Jun 9, 2015, 5:02:29 AM6/9/15
to lin...@googlegroups.com
Hello Kay,

Yes indeed. I submitted my question, re-read it and figured out I was wasting your time because I found out that I had to make sure policies were active.

Best regards,
Madmous
Reply all
Reply to author
Forward
0 new messages