summaryrefslogtreecommitdiffstats
path: root/src/tools/sss_useradd.c
Commit message (Collapse)AuthorAgeFilesLines
* Always use positional arguments in translatable stringsStephen Gallagher2012-05-221-3/+3
| | | | https://fedorahosted.org/sssd/ticket/1336
* Cleanup: Remove unused parametersJakub Hrozek2011-11-221-3/+1
|
* New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0Pavel Březina2011-08-251-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);
* New DEBUG facility - conversionPavel Březina2011-08-251-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)
* sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny2011-08-151-1/+0
| | | | | The patch also updates code using modified functions. Tests have also been adjusted.
* Fix assorted minor bugs in sss_ toolsJakub Hrozek2010-09-081-7/+6
| | | | Fixes: #585
* Remove the -g option from useraddJakub Hrozek2010-06-141-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.
* Add missing break to switch statementJakub Hrozek2010-06-091-0/+1
| | | | | | | Switch statement missing a break causes unintended implicit setting of 'm' options in sss_useradd. Fixes: #512
* tools: remove creation of event_contextSimo Sorce2010-04-121-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.
* sysdb: convert sysdb_getgrnamSimo Sorce2010-04-121-40/+17
|
* sysdb: convert sysdb_getpwnamSimo Sorce2010-04-121-1/+1
|
* Use the sysdb synchronous transaction functionsSimo Sorce2010-04-121-7/+8
|
* SELinux login managementJakub Hrozek2010-04-081-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.
* Fix warnings from -Wmissing-field-initializersSumit Bose2010-03-251-1/+1
| | | | This patch removes some tab-indentations from pamsrv.c, too.
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+349
Also update BUILD.txt