[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Issue with User creation



User authentication is pluggable. The "remote user" auth plugin relies on httpd authenticating a user (so anything you can do with httpd authentication is fairly easy to use) and then creates that user in OpenShift MongoDB whenever they're first authenticated. The old mongodb auth plugin was more direct, checking user and password against mongo. These plugins are configured via the existence of a conf file in /etc/openshift/plugins.d. You can create a plugin using any method you like as long as it authenticates the user adequately for you and creates the user in mongo.

----- Original Message -----
From: "s madathilthattantav" <s madathilthattantav accenture com>
To: lmeyer redhat com
Cc: users lists openshift redhat com, kraman redhat com, hripps redhat com
Sent: Tuesday, January 21, 2014 1:11:33 PM
Subject: RE: Issue with User creation

Suppose If I have a custom application that should enable users to create openshift accounts/users, instead of an Origin admin executing htpasswd or oo-admin-ctl-user directly from the host ,is there a way to accomplish that.

Just a Use case, where I have my private PaaS and any user who want to access the same can request/invoke user creation via a tool.Any thoughts?

Thanks
Shabna

-----Original Message-----
From: Luke Meyer [mailto:lmeyer redhat com] 
Sent: Tuesday, January 21, 2014 8:14 PM
To: Madathilthattantav, S.
Cc: users lists openshift redhat com; kraman redhat com; hripps redhat com
Subject: Re: Issue with User creation

I think oo-register-user was something specific to the mongodb user auth plugin, which I hope has been replaced as a default by htpasswd auth (meaning, add users to /etc/openshift/htpasswd with the htpasswd command). oo-admin-ctl-user now allows adding users to mongo too (this doesn't handle their auth, but you can specify their properties and add them to domains and such).

----- Original Message -----
From: "s madathilthattantav" <s madathilthattantav accenture com>
To: kraman redhat com, hripps redhat com
Cc: users lists openshift redhat com
Sent: Monday, January 20, 2014 12:15:36 PM
Subject: Issue with User creation





Hi Krishna 



I saw this link https://bugzilla.redhat.com/show_bug.cgi?id=1011974 reporting the same issue I am facing- 



[root broker openshift]# oo-register-user -l admin -p admin --username shabs --userpass shabs 

/usr/share/gems/gems/activeresource-3.2.13/lib/active_resource/connection.rb:132:in `handle_response': Failed. Response code = 401. Response message = Unauthorized. (ActiveResource::UnauthorizedAccess) 

from /usr/share/gems/gems/activeresource-3.2.13/lib/active_resource/connection.rb:115:in `request' 

from /usr/share/gems/gems/activeresource-3.2.13/lib/active_resource/connection.rb:98:in `block in post' 

from /usr/share/gems/gems/activeresource-3.2.13/lib/active_resource/connection.rb:218:in `with_auth' 

from /usr/share/gems/gems/activeresource-3.2.13/lib/active_resource/connection.rb:98:in `post' 

from /usr/share/gems/gems/activeresource-3.2.13/lib/active_resource/base.rb:1360:in `create' 

from /usr/share/gems/gems/activeresource-3.2.13/lib/active_resource/observing.rb:19:in `create_with_notifications' 

from /usr/share/gems/gems/activeresource-3.2.13/lib/active_resource/base.rb:1155:in `save' 

from /usr/share/gems/gems/activeresource-3.2.13/lib/active_resource/validations.rb:79:in `save_with_validation' 

from /usr/share/gems/gems/activeresource-3.2.13/lib/active_resource/observing.rb:19:in `save_with_notifications' 

from /bin/oo-register-user:101:in `<main>' 



Installtion Details : Orginversion 3 on Fedora 19 (AWS) using oo-install 





Can you please let me know how to resolve the same. 



Thanks 

Shabna 


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. . 
______________________________________________________________________________________ 

www.accenture.com 

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]