Bug #2397

server_cipher authn issue after passwd change

Added by Boris Parak over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:10/22/2013
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Drivers - Auth
Target version:Release 4.4
Resolution:worksforme Pull request:
Affected Versions:OpenNebula 4.2

Description

Running

===
oneuser passwd <ID> <NEW_PASSWD>

===

on a user with the server_cipher authN driver breaks authentication. User details are showing the password un-hashed:

===
USER <ID> INFORMATION
ID : <ID>
NAME : serveradmin
GROUP : oneadmin
PASSWORD : <NEW_PASSWD>
AUTH_DRIVER : server_cipher
ENABLED : Yes

USER TEMPLATE
TOKEN_PASSWORD="084821149375c2cfdff0f27928306ef56cef604b"

RESOURCE USAGE & QUOTAS

===

Only deleting the original user and creating a new one helps.

History

#1 Updated by Boris Parak over 7 years ago

Affected Version: OpenNebula 4.4 (master)

#2 Updated by Daniel Molina over 7 years ago

Hi Boris,

You have to use the --sha1 option when changing the user password.
http://opennebula.org/documentation:rel4.2:cloud_auth#configure

#3 Updated by Boris Parak over 7 years ago

  • % Done changed from 0 to 100

Hi Daniel,

oh, I didn't know that. Thanks!

Cheers

#4 Updated by Daniel Molina over 7 years ago

  • Status changed from Pending to Closed
  • Resolution set to worksforme

Also available in: Atom PDF