Include Sunstone remote auth doc and apache+passenger+kerberos example#37
Include Sunstone remote auth doc and apache+passenger+kerberos example#37alvarosimon wants to merge 2 commits intoOpenNebula:masterfrom
Conversation
|
Cherry picked to branches one-4.14.1 (this should be 4.14.2) and master. Thank you! |
|
thanks a lot! |
|
Hi Alvaro Needing to set x509 for remote Auth is something that we'd like to polish. We propose the following approach.
def get_remote_username(password)
@lock.synchronize do
@user_pool.each_with_xpath(
"USER[contains(PASSWORD, \"#{password}\")]") do |user|
return user["NAME"] if user["AUTH_DRIVER"] == "public" &&
user["PASSWORD"] == password
end
end
nil
end What do you think? |
|
Hi @rsmontero Great!, this is even better! yes I have used |
just one question, when you use |
|
sorry is just an auth method. They maybe different
|
|
ah ok that's fine, in our case we can have something like this using public
2015-11-19 12:07 GMT+01:00 Ruben S. Montero notifications@github.com:
|
|
Hi Alvaro, We've update CouldAuth.rb and RemoteAuth.rb to make use of a generic verification method. So now the "get_username" method is moved to each Auth class. The modifications have been tested with x509 and they works. Could you review the new RemoteAuth method. You can grab the new files here: Also the new documentation is here The specific commits if you are interested are: Thanks!! |
|
Hi Ruben This is great!, We will try the new auth in our cluster testbed during the next days using Kerberos and |
This doc PR is related with OpenNebula/one#71, how to Kerberize Sunstone service using remote auth.