summaryrefslogtreecommitdiff
path: root/src/tools/sss_userdel.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-22Always use positional arguments in translatable stringsStephen Gallagher1-4/+4
https://fedorahosted.org/sssd/ticket/1336
2011-08-25New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0Pavel Březina1-1/+1
Removed: SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED) Added new macro: CONVERT_AND_SET_DEBUG_LEVEL(new_value) Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0 so DEBUG macro could be reduced by one condition. Anyway, it has a minor effect, every time you want to load debug_level from command line parameters, you have to use following pattern: /* Set debug level to invalid value so we can deside if -d 0 was used. */ debug_level = SSSDBG_INVALID; pc = poptGetContext(argv[0], argc, argv, long_options, 0); while((opt = poptGetNextOpt(pc)) != -1) { ... } CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
2011-08-25New DEBUG facility - conversionPavel Březina1-1/+1
https://fedorahosted.org/sssd/ticket/925 Conversion of the old debug_level format to the new one. (only where it was necessary) Removed: SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
2011-08-15sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny1-1/+0
The patch also updates code using modified functions. Tests have also been adjusted.
2010-09-08Fix assorted minor bugs in sss_ toolsJakub Hrozek1-6/+2
Fixes: #585
2010-04-12Fix merge error for sss_userdel.cStephen Gallagher1-21/+1
2010-04-12tools: remove creation of event_contextSimo Sorce1-1/+0
Since the sysdb is now synchronous and creates its own event context we don't need an explicit event context anymore in the tools.
2010-04-12sysdb: convert sysdb_getpwnamSimo Sorce1-1/+1
2010-04-12sysdb: convert sysdb_delete_entryStephen Gallagher1-6/+1
2010-04-08SELinux login managementJakub Hrozek1-0/+9
Adds a new option -Z to sss_useradd and sss_usermod. This option allows user to specify the SELinux login context for the user. On deleting the user with sss_userdel, the login mapping is deleted, so subsequent adding of the same user would result in the default login context unless -Z is specified again. MLS security is not supported as of this patch.
2010-04-06Make sss_userdel check for logged in usersJakub Hrozek1-3/+142
sss_userdel now warns if the deleted user was logged in at the time of deletion. Also adds a new parameter --kick to userdel that kills all user processes before actually deleting ther user. Fixes: #229
2010-04-06Add userdel_cmd paramJakub Hrozek1-0/+6
Fixes: #231
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+205
Also update BUILD.txt