Commit Graph
36 Commits
Author SHA1 Message Date
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero 3d8d2fd81e feature #4215: Simplify interface for util::gsub. Decouple Request methods to
better support static request actions.
2016-02-01 00:18:47 +01:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Jaime Melis 8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Ruben S. Montero aef7109af3 Hide password arguments for user login. General hidden process 2014-10-28 16:23:09 +01:00
Ruben S. Montero b0cee246a7 feature #2796: Support for not-expiring tokens 2014-09-24 16:44:50 +02:00
Ruben S. Montero 0f44677325 feature #2796: Client side utilities to manage tokens: Ruby OCA, oneuser CLI. Also the token management across drivers (SSH & X509 included) is now homogenous 2014-09-06 22:22:40 +02:00
Carlos Martín 425dbd8c22 Fix bug in quotas update 2014-03-14 16:58:36 +01:00
Ruben S. Montero f949691cef bug #2565: Join get_info and get_info_without_error 2014-03-08 00:02:38 +01:00
Carlos Martín 2e8dc65fd6 Bug #2503: Add rollback in case of error 2014-03-04 17:09:04 +01:00
JensHoffmann 0a3ba8aca9 Bug #2503: Improve setting of password/auth_driver
UserChangePassword followed this strategy:
  a1. Eventually encrypt user password if the users
      auth_driver is CORE_AUTH
  a2. Set (probably encrypted) password with
      User::set_password
  a3. User::set_password tries to validate (probably
      encrypted) password instead of the raw password

UserChangeAuth did something similar:
  b1. If password is given (not empty) do a1 through a3
  b2. Set auth_driver

The change proposes the following:
 * In set_password:
    1. Validate the raw password
    2. Do encryption if needed
 * In UserChangePassword: simply call set_password
 * In UserChangeAuth: set auth_driver *before* calling
   set_password, such that set_password does the right thing
   if the auth_driver changes

Note: I needed to move the implementation of set_password
from User.h to User.cc since it seems impossible to access
UserPool::CORE_AUTH from within User.h.
2014-03-04 17:00:11 +01:00
Jaime Melis 11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Carlos Martín b4e63d8a33 Feature #1742: add/del secondary group requires MANAGE GROUP 2013-08-23 17:46:46 +02:00
Carlos Martín 1b3a10b958 Feature #1742: Methods to add and remove secondary groups 2013-08-23 13:30:06 +02:00
Ruben S. Montero b84a0350a7 Merge branch 'feature-1739'
Conflicts:
	src/common/NebulaUtil.cc
	src/common/SConstruct
2013-02-17 00:07:07 +01:00
Ruben S. Montero b8b3f6434d feature #1739: Moved SSL functions to one_util namespace. oned decodes messages from information drivers 2013-02-09 16:38:54 +01:00
Jaime Melis 7357bffe34 Update copyright notice 2013-01-24 16:18:30 +01:00
Jaime Melis af61e33f8c Update year to 2013 2013-01-24 16:03:57 +01:00
Carlos Martín cf45afe0a7 Feature #1108: Add more verbosity to Request Manager log messages:
* Each request message includes a unique (ish) ID, and user doing the request
 * Success results are also logged
 * All arguments are included in the request message (except session)
 * Password arguments are shown as ***
2012-10-02 16:25:57 +02:00
Ruben S. Montero 981db30338 feature #1288: Support for Group quotas 2012-06-08 22:14:40 +02:00
Ruben S. Montero 819f1b6a41 feature #1288: Abstract quota functionality to be reused by Groups 2012-06-08 13:45:15 +02:00
Ruben S. Montero 82e3f2e052 feature 1288: Add missing updates after modifying user quotas. XML-RPC method to set user quotas 2012-06-07 00:04:08 +02:00
Jaime Melis a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Ruben S. Montero f41a20d4dd Bug #963: Prevents seg fault if user is freed while executing RM action 2011-12-19 22:42:33 +01:00
Carlos Martín ba91887f8b Bug #963: RequestManagerUser checks the parameter types before the User object is locked 2011-12-19 09:09:17 -08:00
Carlos Martín f77771d5d1 Bug #847: Allow to change the auth driver only in one.user.chauth 2011-10-24 15:38:51 +02:00
Carlos Martín 86c127320e Bug #847: Perform sha1 for new passwords if the core driver is used 2011-10-20 19:22:42 +02:00
Carlos Martín 303d17b260 Bug #847 - #918: Add password to one.user.chauth method, this way the driver and the auth driver are changed atomically 2011-10-20 18:58:40 +02:00
Carlos Martín d2e781cd27 Bug #847 - #918: Add method to change user auth driver in core, ruby oca and CLI 2011-10-17 15:08:00 +02:00
Carlos Martín f2a45ed139 Bugs #797, #485: Add invalid character checks to user names, add invalid char ':' 2011-09-13 17:54:51 +02:00
Ruben S. Montero 0faf6203fb bug #797: OpenNebula core prevents a password with spaces to be used
(cherry picked from commit f0410c9e75)
2011-09-09 18:33:37 +02:00
Ruben S. Montero 66485c6ed7 MULTIPLE GROUPS: Removed initial effort to support multiple user groups for the users. This should be easily recovered to complete this feature in the future 2011-07-07 19:01:04 +02:00
Carlos Martín 03fac9096a Bug #702: xmlrpc-c does not create a new xmlrpc_c::method class for each request.
Instead, it creates a single instance and its execute method is called for each new request.
This caused some variables to be shared by several threads, which eventually ended in
segmentation fault.
2011-07-07 12:45:13 +02:00
Carlos Martín 069cd6bfb1 Feature #662: User add/del group: fix a couple of bugs, and better error messages. 2011-06-07 16:58:40 +02:00
Ruben S. Montero ca3d0154c8 feature #662, #407: Better error messages. Added some missing pool updates and mutex unlocks 2011-06-04 04:02:19 +02:00
Ruben S. Montero 70435d9043 feature #407, #662: New User methods in RM and some changes in the add/del group interface 2011-06-03 16:58:42 +02:00