problem with login

1,105 views
Skip to first unread message

Robert Balejík

unread,
Jan 5, 2014, 4:27:01 PM1/5/14
to lin...@googlegroups.com
I installed linotp followiong this guide : https://www.digitalocean.com/community/articles/how-to-install-linotp-on-an-ubuntu-vps
installation went OK but this is what I get when I try to login (through web interface) and I'm sure I typed correct username and passwd

2014/01/05 - 19:59:16 ERROR {140031746361088} [linotp.controllers.selfservice][__before__ #228] [__before__::u'custom_style'] webob.exception <HTTPUnauthorized at 0x7f5bb81e3fa0 401 Unauthorized>
2014/01/05 - 19:59:16 ERROR {140031746361088} [linotp.controllers.selfservice][__before__ #228] [__before__::u'custom_style'] webob.exception <HTTPUnauthorized at 0x7f5bb81e3fa0 401 Unauthorized>
2014/01/05 - 19:59:16 ERROR {140031746361088} [linotp.controllers.selfservice][__before__ #229] [__before__] Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/linotp/controllers/selfservice.py", line 166, in __before__
    abort(401, "You are not authenticated")
  File "/usr/lib/python2.7/dist-packages/pylons/controllers/util.py", line 194, in abort
    raise exc.exception
HTTPUnauthorized: You are not authenticated

2014/01/05 - 19:59:16 ERROR {140031746361088} [linotp.controllers.selfservice][__before__ #229] [__before__] Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/linotp/controllers/selfservice.py", line 166, in __before__
    abort(401, "You are not authenticated")
  File "/usr/lib/python2.7/dist-packages/pylons/controllers/util.py", line 194, in abort
    raise exc.exception
HTTPUnauthorized: You are not authenticated

Cornelius Kölbel

unread,
Jan 5, 2014, 6:20:58 PM1/5/14
to lin...@googlegroups.com
Hi,

obviously you try to login to the self service.

Please note:

Accessing

https://linotpserver/

will access the self service portal.
To have users access the self service portal, you first need to create a
resolver and a realm and then users can login to the self service portal
with their passwords in e.g. the passwd-file.

I guess you want to access the management with the admin you created
during install.

So you need to access

https://linotpserver/manage

***note the path "manage" in the url***
Here you can login with the user "admin" and the password you set during
installation.

Kind regards
Cornelius
> --
> 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.
> 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/9e5e1bdd-c6ce-4fb6-996b-e04a364fa489%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.


signature.asc
Message has been deleted
Message has been deleted

Robert Balejík

unread,
Jan 7, 2014, 6:00:02 AM1/7/14
to lin...@googlegroups.com
Thanks for advice but I'm still stucked
I read this http://linotp.org/doc/latest/part-management/index.html, I assume I 've to edit linotp.ini.paster file but how exactly , I aslo tried this cmd glinotpadm.py but still wont't work
in the realm section there's go to config->... but what config ?

winkl...@gmail.com

unread,
Jan 7, 2014, 7:33:02 AM1/7/14
to lin...@googlegroups.com
Hi Robert,

if you want to use the selfservice portal, you have to define a resolver (via the manage interface) to enable the identification of the user.
The password is than compared with your resolver related password - e.g. if using the passwd resolver, you could connect with a user in your passwd like file.
The password which is used in the authentication then has to be added to your passwd like file using the tool:
linotp-create-pwidresolver-user

Be aware, that before your user is able to do anything, you have to define a policy in the /manage interface.

So, did you already have defined an resolver+reals?

Best regards.

Robert Balejík

unread,
Jan 7, 2014, 8:55:43 AM1/7/14
to lin...@googlegroups.com
but where is the manage interface? how can I acess it


winkl...@gmail.com

unread,
Jan 7, 2014, 9:04:45 AM1/7/14
to lin...@googlegroups.com
On Tuesday, January 7, 2014 2:55:43 PM UTC+1, Robert Balejík wrote:
> but where is the manage interface? how can I acess it

Hi Robert,

that's easy :-) - take your base url (my one is http://127.0.0.1:5001/) and append the "/manage" - this will take you to the management interface.
For Login, you will require your administration account settings, which you did
during the intallation.


Best regards,
Kay



Robert Balejík

unread,
Jan 7, 2014, 10:52:35 AM1/7/14
to lin...@googlegroups.com
I know that interface, but my problem is that when I type username passwd nothing it won't log me in and I know that it is 100% correct, and no error message like wrong passwd ... and btw how to change username passwd?..

Cornelius Kölbel

unread,
Jan 7, 2014, 12:47:09 PM1/7/14
to Robert Balejík, lin...@googlegroups.com
Hi Robert,
Logging in with Users from /etc/passee does not work, since etc/passed does not contain any passwords.
You need to create a user file, that contains passwords.
You can use the tool linotp-create-passed user.

Linotp is no user management tool, therefore you can not change passwords in the user stores! Linotp does only a READ access on user stores.

Kind regards
Cornelius 

--
Cornelius Kölbel
(Head of Product Management)
LSE Leading Security Experts GmbH
Unternehmenssitz: Weiterstadt
Geschäftsführer: Oliver Michel, Sven Walther


Am 07.01.2014 um 16:52 schrieb Robert Balejík <r.ba...@gmail.com>:

I know that interface, but my problem is that when I type username passwd nothing it won't log me in and I know that it is 100% correct, and no error message like wrong passwd ... and btw how to change username passwd?..

--
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.
Visit this group at http://groups.google.com/group/linotp.

Cornelius Kölbel

unread,
Jan 7, 2014, 12:51:25 PM1/7/14
to Robert Balejík, lin...@googlegroups.com
I am sorry,
Are you talking of logging in to the management UI or selfservice ?
Kind regards
Cornelius 

--
Cornelius Kölbel
(Head of Product Management)
LSE Leading Security Experts GmbH
Unternehmenssitz: Weiterstadt
Geschäftsführer: Oliver Michel, Sven Walther


Am 07.01.2014 um 16:52 schrieb Robert Balejík <r.ba...@gmail.com>:

I know that interface, but my problem is that when I type username passwd nothing it won't log me in and I know that it is 100% correct, and no error message like wrong passwd ... and btw how to change username passwd?..

--

Robert Balejík

unread,
Jan 7, 2014, 4:15:53 PM1/7/14
to lin...@googlegroups.com
I wanna secure my mtgox account (I assume it's self service?? istn't it) and as you said do I need to install something to get this working "linotp-create-passed user.", is it a command? or what
I created a token mysql database and "grant privileges to user@localhost idnetified by 'strong password' " and i use the same identifiers user, strong password during linotp installation wizard

Cornelius Kölbel

unread,
Jan 7, 2014, 5:04:12 PM1/7/14
to Robert Balejík, lin...@googlegroups.com
Hi Robert,
First of all, I do not know if mtgox allows authentication against an external service like your linotp installation!

Second: obviously you are stuck with the login to the management! It sounds like you installed via Debian or Ubuntu packages?
Linotp runs as application in the apache and the login to management is handled by apache authentication.
The file /etc/linotp2/admins is used. 

Use the command 

Htdigest

To add new admin users or modify them.

Forget about selfservice at them moment.
And remember to access the management via

/manage

Kind regards
Cornelius 

--
Cornelius Kölbel
(Head of Product Management)
LSE Leading Security Experts GmbH
Unternehmenssitz: Weiterstadt
Geschäftsführer: Oliver Michel, Sven Walther


Am 07.01.2014 um 22:15 schrieb Robert Balejík <r.ba...@gmail.com>:

I wanna secure my mtgox account (I assume it's self service?? istn't it) and as you said do I need to install something to get this working "linotp-create-passed user.", is it a command? or what
I created a token mysql database and "grant privileges to user@localhost idnetified by 'strong password' " and i use the same identifiers user, strong password during linotp installation wizard

--
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.
Visit this group at http://groups.google.com/group/linotp.

Robert Balejík

unread,
Jan 8, 2014, 7:14:13 AM1/8/14
to lin...@googlegroups.com
I'm tirying to create useridresolver but I get this error : No module named useridresolveree.SQLIdResolver

Cornelius Kölbel

unread,
Jan 8, 2014, 7:45:30 AM1/8/14
to Robert Balejík, lin...@googlegroups.com
There is another thread in this list.

The sqlresolver is only part of the enterprise edition at the moment.

Kind regards
Cornelius 

--
Cornelius Kölbel
(Head of Product Management)
LSE Leading Security Experts GmbH
Unternehmenssitz: Weiterstadt
Geschäftsführer: Oliver Michel, Sven Walther


Am 08.01.2014 um 13:14 schrieb Robert Balejík <r.ba...@gmail.com>:

I'm tirying to create useridresolver but I get this error : No module named useridresolveree.SQLIdResolver

--
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.
Visit this group at http://groups.google.com/group/linotp.

Robert Balejík

unread,
Jan 8, 2014, 11:34:21 AM1/8/14
to lin...@googlegroups.com
OK but I just want  selfservice: more closely default realm or whatever and just 1 user and I want to work locally

Reply all
Reply to author
Forward
0 new messages