summaryrefslogtreecommitdiff
path: root/src/tools/sss_userdel.c
AgeCommit message (Collapse)AuthorFilesLines
2013-05-20Fixing critical format string issues.Lukas Slebodnik1-2/+4
--missing arguments. --format '%s', but argument is integer. --wrong format string, examle: '%\n'
2013-04-05Check for waitpid failure at wrong place.Michal Zidek1-4/+4
Coverity bugs. https://fedorahosted.org/sssd/ticket/1865
2013-01-15TOOLS: Split querying nss responder into a separate functionJakub Hrozek1-16/+4
The tools query the responder in order to sync the memcache after performing changes to the local database. The functions will be reused by other tools so I split them into a separate functions.
2012-12-13tools: sss_userdel and groupdel remove entries from memory cacheMichal Zidek1-0/+23
https://fedorahosted.org/sssd/ticket/1659
2012-10-29Include talloc log in our debug facilityMichal Zidek1-1/+1
https://fedorahosted.org/sssd/ticket/1495
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