[one-users] Re : LDAP Auth

Daniel Molina dmolina at opennebula.org
Wed Sep 5 08:01:30 PDT 2012


Hi,

On 5 September 2012 16:40, Derek Yarnell <derek at umiacs.umd.edu> wrote:

> Hi,
>
> Thanks, got the TLS issues worked out and now I can authenticate
> correctly from the command line.  However, when I log in from Sunstone
> it creates the user and sets a clear text password in the Password
> field.  Then throws an error (OpenNebula is not running or there was a
> server exception. Please check the server logs.) and does not log the
> user in.  If you use the full DN as the username field it will log in
> fine.  Anyone else run into this?
>

Did you change the sunstone auth method to opennebula_auth?

http://opennebula.org/documentation:rel3.6:sunstone#opennebula_auth

Cheers


>
> $ oneuser show 6
> USER 6 INFORMATION
>
> ID             : 6
> NAME           : uid=derektest,ou=people,dc=example,dc=com
> GROUP          : users
> PASSWORD       : MyPassword
> AUTH_DRIVER    : ldap
> ENABLED        : Yes
>
> USER TEMPLATE
>
>
>
> RESOURCE USAGE & QUOTAS
>
>
> Thanks,
> derek
>
> On 8/30/12 4:42 AM, Nicolas AGIUS wrote:
> > Hi,
> >
> > You can check your ldap connection with the following command :
> >
> > /var/lib/one/remotes/auth/ldap/authenticate username "" passwd
> >
> > The password must be in clear text.
> > And note the second empty parameter.
> >
> > Cheers
> > Nicolas AGIUS
> >
> > --- En date de : *Dim 26.8.12, Derek Yarnell /<derek at umiacs.umd.edu>/* a
> > écrit :
> >
> >
> >     De: Derek Yarnell <derek at umiacs.umd.edu>
> >     Objet: [one-users] LDAP Auth
> >     À: users at lists.opennebula.org
> >     Date: Dimanche 26 août 2012, 1h30
> >
> >     Hi,
> >
> >     I am trying to debug LDAP authentication but I am coming up short. I
> >     have followed,
> >
> >       http://opennebula.org/documentation:rel3.6:ldap
> >
> >     and patched,
> >
> >        http://dev.opennebula.org/issues/1171
> >
> >     I have set sunstone to use opennebula authentication,
> >
> >        :auth: opennebula
> >
> >     But I get only the error,
> >
> >        Sat Aug 25 19:28:59 2012 [ReM][D]: UserInfo method invoked
> >        Sat Aug 25 19:28:59 2012 [ReM][E]: [UserInfo] User couldn't be
> >     authenticated, aborting call.
> >
> >     But it never contacts the ldap server.  Is there some test I can do
> from
> >     the command line to test ldap authentication?
> >
> >     Thanks,
> >     derek
> >
> >     --
> >     ---
> >     Derek T. Yarnell
> >     University of Maryland
> >     Institute for Advanced Computer Studies
> >     _______________________________________________
> >     Users mailing list
> >     Users at lists.opennebula.org </mc/compose?to=
> Users at lists.opennebula.org>
> >     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
>
>
> --
> ---
> Derek T. Yarnell
> University of Maryland
> Institute for Advanced Computer Studies
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120905/0f2ce258/attachment-0002.htm>


More information about the Users mailing list