summaryrefslogtreecommitdiff
path: root/src/tools/sss_useradd.c
AgeCommit message (Collapse)AuthorFilesLines
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-7/+6
Fixes: #585
2010-06-14Remove the -g option from useraddJakub Hrozek1-57/+2
The local domain has the magic private groups option set unconditionally. Therefore, it does not make any sense to let user configure the primary GID. As a side-effect, this fixes #522.
2010-06-09Add missing break to switch statementJakub Hrozek1-0/+1
Switch statement missing a break causes unintended implicit setting of 'm' options in sss_useradd. Fixes: #512
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_getgrnamSimo Sorce1-40/+17
2010-04-12sysdb: convert sysdb_getpwnamSimo Sorce1-1/+1
2010-04-12Use the sysdb synchronous transaction functionsSimo Sorce1-7/+8
2010-04-08SELinux login managementJakub Hrozek1-0/+11
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-03-25Fix warnings from -Wmissing-field-initializersSumit Bose1-1/+1
This patch removes some tab-indentations from pamsrv.c, too.
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+349
Also update BUILD.txt