summaryrefslogtreecommitdiff
path: root/server/tools/sss_groupadd.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-13Tools ID range fixesJakub Hrozek1-1/+5
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
2009-08-05Parse fully qualified names in toolsJakub Hrozek1-7/+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.
2009-07-31Improve error messagesJakub Hrozek1-1/+1
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
2009-07-20Start rationalizing user tools a bitSimo Sorce1-45/+32
There is a lot of duplication in user tools. First steps to remove as much duplication as possible.
2009-07-08fixed a double talloc_free errorSumit Bose1-2/+0
2009-07-06Check for root before initializingJakub Hrozek1-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.
2009-07-03Rework transaction code to use tevent_reqSimo Sorce1-20/+62
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.
2009-07-03Rename sysdb_req to sysdb_handle.Simo Sorce1-6/+6
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.
2009-07-02Gettextize the sss_ toolsJakub Hrozek1-13/+22
2009-06-17Create gettext framework for SSSD daemonStephen Gallagher1-2/+2
2009-05-14More useful error message when adding user/group that already existsJakub Hrozek1-1/+9
Fixes: RHBZ #498462
2009-04-28Add debug param to the tools, fix lock/unlock in sss_usermodJakub Hrozek1-0/+4
2009-04-28Invoke shadow-utils in sss_ toolsJakub Hrozek1-11/+62
Make shadow-utils base path configurable Use default values for params, allow configuring them
2009-04-23fixes for user and group creation in LOCAL domainSumit Bose1-1/+1
- added range check for supplied UIDs and GIDs - initialize pc_gid to 0 to trigger gid generation
2009-04-08Change the way we retrieve domainsSimo Sorce1-3/+6
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.
2009-03-09Move MPG checks within sysdb.Simo Sorce1-8/+0
This allows to perform checks and modifications in one transaction. Uses configuration stored in confdb to determins if a domain uses MPGs.
2009-03-08Fix initialization problemsJakub Hrozek1-7/+8
Init tools ctx in groupadd before copying its value
2009-03-06sss_groupaddJakub Hrozek1-0/+172