Feature #967

Support LDAP authentication in Sunstone

Added by Javi Fontan over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:11/07/2011
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

100%

Category:Sunstone
Target version:Release 3.4 - Beta
Resolution:fixed Pull request:

Description

Sunstone is not able to use LDAP authentication.

LdapCloudAuth.rb Magnifier (1.99 KB) Rolandas Naujikas, 02/25/2012 04:30 PM

SunstoneCloudAuth.rb Magnifier (1.81 KB) Rolandas Naujikas, 02/25/2012 08:45 PM

Associated revisions

Revision 2d471abd
Added by Daniel Molina over 9 years ago

feature #967: CloudAuth thread safe

Revision 133a1413
Added by Daniel Molina over 9 years ago

feature #967: Fix retrieve from userpool

Revision b87cce74
Added by Daniel Molina over 9 years ago

feature #967: Fix xpath expression

Revision 244afde3
Added by Daniel Molina over 9 years ago

feature #967: Fix sync in CloudAuth

Revision 0931fdaa
Added by Daniel Molina over 9 years ago

feature #967: Fix token generation

Revision f433e6f0
Added by Ruben S. Montero over 9 years ago

feature #967: Fix method scope

History

#1 Updated by Ruben S. Montero over 9 years ago

  • Assignee set to OpenNebula Systems Support Team
  • Target version set to Release 3.4

#2 Updated by Ruben S. Montero over 9 years ago

  • Target version deleted (Release 3.4)

#3 Updated by Ruben S. Montero over 9 years ago

  • Target version set to Release 3.4

#4 Updated by Rolandas Naujikas over 9 years ago

My first working version of subject. I used code from ldap/authentificate and SunstoneCloudAuth.rb.
To use it you need register LdapCloudAuth in CloudAuth.rb and set ":auth: ldap" in sunstone-server.conf.
Feature of user auto registering in OpenNebula doesn't work as with CLI, so users should be registered in advance.

#5 Updated by Rolandas Naujikas over 9 years ago

I found probably even more general solution, but probably slower.
I attached changed SunstoneCloudAuth.rb. With this code it should work for core and ldap drivers (even auto registration works).

#6 Updated by Rolandas Naujikas over 9 years ago

I put our private ONE_XMLRPC address, forget it.

#7 Updated by Ruben S. Montero over 9 years ago

  • Target version changed from Release 3.4 to Release 3.4 - Beta

#8 Updated by Daniel Molina over 9 years ago

Hi Rolandas,

These patches are perfect for including the LDAP authentication in Sunstone. We are improving the CloudAuth authentication for the next release taking into account these patches. Thanks for the contribution.

#9 Updated by Daniel Molina over 9 years ago

  • Assignee changed from OpenNebula Systems Support Team to Daniel Molina

#10 Updated by Daniel Molina over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

A new OpenNebulaCloudAuth module has been included to use the specified user driver

Also available in: Atom PDF