summaryrefslogtreecommitdiffstats
path: root/server/tools/sss_userdel.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove shadow-utils support from toolsJakub Hrozek2009-09-081-94/+6
| | | | | Removes the ability to proxy to shadow-utils. Also remove all the supporting functions for getting domain type, domain by id etc.
* Tools are allowed to touch only the 'local' domainSimo Sorce2009-09-081-10/+2
|
* Split database in multiple filesSimo Sorce2009-09-081-2/+10
| | | | | The special persistent local database retains the original name. All other backends now have their own cache-NAME.ldb file.
* Disallow all operations outside domains, fix deleting cache for filesJakub Hrozek2009-08-211-4/+15
| | | | | | | | | | One of the previous patches disallowed adding users and groups outside known domains but it was missing disallowing modifying, deleting, etc. Also don't error if there's no sysdb cache to delete after deleting legacy user/domain. Fixes: tickets #113,#114
* 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.
* Notify user when deleting nonexistent user or groupJakub Hrozek2009-07-311-3/+10
| | | | Fixes: RHBZ #513247, RHBZ #513250
* Use correct return codesJakub Hrozek2009-07-311-1/+1
| | | | | Some code paths that should exit with an error used potentionally incorrect return code.
* Start rationalizing user tools a bitSimo Sorce2009-07-201-64/+42
| | | | | 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-17/+65
| | | | | | 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-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.
* Gettextize the sss_ toolsJakub Hrozek2009-07-021-10/+22
|
* Create gettext framework for SSSD daemonStephen Gallagher2009-06-171-2/+2
|
* 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-8/+61
| | | | | Make shadow-utils base path configurable Use default values for params, allow configuring them
* Change the way we retrieve domainsSimo Sorce2009-04-081-4/+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.
* Fix initialization problemsJakub Hrozek2009-03-081-1/+1
| | | | Init tools ctx in groupadd before copying its value
* sss_groupdel, delete by DN in sss_userdelJakub Hrozek2009-03-071-73/+10
| | | | Don't convert username->uid in userdel, use DN
* sss_userdelJakub Hrozek2009-03-061-0/+230
Also install tools into /sbin, own them in specfile