diff options
author | Milan Bouchet-Valat <nalimilan@club.fr> | 2009-12-27 13:33:16 +0100 |
---|---|---|
committer | Milan Bouchet-Valat <nalimilan@club.fr> | 2010-01-11 17:37:43 +0100 |
commit | 37125b5f3ede949e038fccdd2a6fe4022503fc86 (patch) | |
tree | 69de6559ea7609ccd06353c27c59216476b4a29d /Utils | |
parent | f64cef21aca94518e0af681c89cd2eb658492094 (diff) |
New users D-Bus protocol
Going through UsersConfig to commit changes to users is not the best solution since this can affect users that were not edited in case of a bug on the client's side. Thus, remove UsersConfig::set() in favor of new UserConfig::add(), del() and set(), which take a generic user structure. Allow these functions in dispatcher.c, but always check for "set" PolicyKit authorization (making distinction between "add", "set", "del" makes no sense at this point).
Add some fields to the user struct to be used later: encrypted home, locale and location, plus password and home directory flags. GID is now an unsigned 32 bits integer, with its max value meaning no group.
Rename D-Bus interfaces to UserConfig2 and UsersConfig2, since we break compatibility. Update DBus config file to reflect that.
Diffstat (limited to 'Utils')
0 files changed, 0 insertions, 0 deletions