summaryrefslogtreecommitdiffstats
path: root/server/tools/sss_useradd.c
Commit message (Collapse)AuthorAgeFilesLines
* Tools ID range fixesJakub Hrozek2009-08-131-2/+9
| | | | | | | | | The tools did not take the special case where id_max = 0 (no limit) into account. Also disallow adding users when ID is specified outside any domain. Resolves trac tickets #86 and #89
* Parse fully qualified names in toolsJakub Hrozek2009-08-051-6/+27
| | | | | | Allow adding users into different domains not only by specifying ID directly but also by specifying fully qualified name. Exit when both specifications are used in conflict.
* Fix adding to groups on user creationJakub Hrozek2009-08-051-1/+1
|
* Improve error messagesJakub Hrozek2009-07-311-2/+2
| | | | | | | | | | | Fixes: * RHBZ 513282 - Error Message Incorrect when Trying to add Group with GID already in use * RHBZ 513284 - Error Message Incorrect when Trying to add User with UID already in use * RHBZ 513242 - Better error Message when modifying a user that doesn't exist * RHBZ 513244 - Better error Message when adding a user to a group that doesn't exist
* Start rationalizing user tools a bitSimo Sorce2009-07-201-103/+62
| | | | | There is a lot of duplication in user tools. First steps to remove as much duplication as possible.
* fixed a double talloc_free errorSumit Bose2009-07-081-2/+0
|
* Check for root before initializingJakub Hrozek2009-07-061-0/+10
| | | | | Also move setting locale to separate function to be called before anything else to make sure the "Not root" message would be localized.
* Rework transaction code to use tevent_reqSimo Sorce2009-07-031-55/+111
| | | | | | This is part of a set of patches to rewrite sysdb to a hopefully better API, that will also let use use tevent_req async style calls to manipulate our cache.
* Rename sysdb_req to sysdb_handle.Simo Sorce2009-07-031-7/+7
| | | | | | | | | This sysdb_req has always really been a transaction handle and not a request. This is part of a set of patches to rewrite transaction support in sysdb to a hopefully better API, that will also let use use tevent_req async style to manipulate our cache.
* Gettextize the sss_ toolsJakub Hrozek2009-07-021-19/+33
|
* Create gettext framework for SSSD daemonStephen Gallagher2009-06-171-3/+4
|
* Move useradd defaults to confdbJakub Hrozek2009-05-261-3/+25
| | | | | | Previously, sss_useradd defaults were hardcoded with no way to change user's default shell or base for home directory. This patch moves them into config/user_defaults
* More useful error message when adding user/group that already existsJakub Hrozek2009-05-141-1/+9
| | | | Fixes: RHBZ #498462
* Add debug param to the tools, fix lock/unlock in sss_usermodJakub Hrozek2009-04-281-0/+4
|
* Invoke shadow-utils in sss_ toolsJakub Hrozek2009-04-281-11/+106
| | | | | Make shadow-utils base path configurable Use default values for params, allow configuring them
* Change the way we retrieve domainsSimo Sorce2009-04-081-3/+7
| | | | | | | | | | | | | To be able to correctly filter out duplicate names when multiple non-fully qualified domains are in use we need to be able to specify the domains order. This is now accomplished by the configuration paramets 'domains' in the config/domains entry. 'domains' is a comma separated list of domain names. This paramter allows also to have disbaled domains in the configuration without requiring to completely delete them. The domains list is now kept in a linked list of sss_domain_info objects. The first domain is also the "default" domain.
* Always pass sss_domain_info to sysdb functions.Simo Sorce2009-03-091-4/+5
|
* Move MPG checks within sysdb.Simo Sorce2009-03-091-8/+0
| | | | | This allows to perform checks and modifications in one transaction. Uses configuration stored in confdb to determins if a domain uses MPGs.
* sss_usermodJakub Hrozek2009-03-091-44/+0
| | | | Move parse_groups into tools_utils
* Fix parameter parsing and adding to groups in useraddJakub Hrozek2009-03-091-4/+10
|
* Fix initialization problemsJakub Hrozek2009-03-081-2/+2
| | | | Init tools ctx in groupadd before copying its value
* Add userspace tools to manipulate accounts.Simo Sorce2009-03-061-0/+413
The first functional command is sss_useradd (Name is temporary, while looking for a better one)