Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sysdb refactoring: deleted domain variables in sysdb API | Jan Zeleny | 2011-08-15 | 10 | -45/+23 |
| | | | | | The patch also updates code using modified functions. Tests have also been adjusted. | ||||
* | Replace system() function with fork and execl call. | Matthew Ife | 2011-07-01 | 1 | -22/+30 |
| | | | | | | | | | | This is much more selinux friendly as it allows policy makers to call nscd_domtrans to transition to nscd_t instead of giving more access to the system via the corcmd_exec_bin macro. Modified-by: Simo Sorce <ssorce@redhat.com> Signed-off-by: Simo Sorce <ssorce@redhat.com> | ||||
* | Set _GNU_SOURCE globally | Sumit Bose | 2011-05-23 | 1 | -1/+0 |
| | |||||
* | Fixed uninitialized value in sss_cache | Jan Zeleny | 2011-05-16 | 1 | -0/+1 |
| | | | | https://fedorahosted.org/sssd/ticket/865 | ||||
* | Cache cleaning tool | Jan Zeleny | 2011-05-04 | 1 | -0/+360 |
| | |||||
* | sss_obfuscate: abort on ctrl+c | Stephen Gallagher | 2011-03-24 | 1 | -0/+12 |
| | | | | | | | There is a python bug (http://bugs.python.org/issue11236) where getpass.getpass() does not throw KeyboardInterrupt on ctrl+c. This workaround is the closest we can get: if we detect the control character in the string that we read, we'll cancel. | ||||
* | sss_obfuscate: Avoid traceback on ctrl+d | Stephen Gallagher | 2011-03-24 | 1 | -5/+9 |
| | |||||
* | removing password option functionality | Gowrishankar Rajaiyan | 2011-02-03 | 1 | -5/+1 |
| | |||||
* | Gracefully handle permission errors in sss_obfuscate | Stephen Gallagher | 2011-02-03 | 1 | -3/+15 |
| | |||||
* | Make the domain argument mandatory in sss_obfuscate | Stephen Gallagher | 2011-02-03 | 1 | -2/+6 |
| | | | | | It doesn't make sense to set a "default" domain. We should require that the domain always be specified. | ||||
* | Fix usability of sss_obfuscate command | Stephen Gallagher | 2011-01-17 | 1 | -12/+21 |
| | |||||
* | Fix boolean comparison against string | Stephen Gallagher | 2011-01-05 | 1 | -2/+2 |
| | | | | Coverity 10082 and 100083 | ||||
* | Properly check the return value from semanage_commit | Stephen Gallagher | 2010-11-05 | 1 | -2/+2 |
| | | | | | | | semanage_commit() returns -1 on error, and can return a positive value on success. https://bugzilla.redhat.com/show_bug.cgi?id=649037 | ||||
* | Fix assorted minor bugs in sss_ tools | Jakub Hrozek | 2010-09-08 | 9 | -47/+37 |
| | | | | Fixes: #585 | ||||
* | sss_obfuscate tool | Jakub Hrozek | 2010-09-08 | 1 | -0/+81 |
| | | | | A tool to add obfuscated passwords into the SSSD config file | ||||
* | Fix potential resource leak in remove_tree_with_ctx() | Stephen Gallagher | 2010-06-17 | 1 | -1/+10 |
| | | | | https://fedorahosted.org/sssd/ticket/515 | ||||
* | Fix potential resource leak in copy_tree_ctx() | Jakub Hrozek | 2010-06-14 | 1 | -2/+10 |
| | | | | Ticket #515 | ||||
* | Remove the -g option from useradd | Jakub Hrozek | 2010-06-14 | 1 | -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. | ||||
* | Make sure to close varargs before returning from a function | Stephen Gallagher | 2010-06-10 | 1 | -1/+1 |
| | | | | https://fedorahosted.org/sssd/ticket/528 | ||||
* | Properly handle read() and write() throughout the SSSD | Stephen Gallagher | 2010-06-10 | 1 | -19/+36 |
| | | | | | | | We need to guarantee at all times that reads and writes complete successfully. This means that they must be checked for returning EINTR and EAGAIN, and all writes must be wrapped in a loop to ensure that they do not truncate their output. | ||||
* | Add missing break to switch statement | Jakub Hrozek | 2010-06-09 | 1 | -0/+1 |
| | | | | | | | Switch statement missing a break causes unintended implicit setting of 'm' options in sss_useradd. Fixes: #512 | ||||
* | Silence warnings with -O2 | Jakub Hrozek | 2010-04-30 | 1 | -4/+4 |
| | |||||
* | Fix merge error for sss_userdel.c | Stephen Gallagher | 2010-04-12 | 1 | -21/+1 |
| | |||||
* | tools: remove creation of event_context | Simo Sorce | 2010-04-12 | 9 | -26/+3 |
| | | | | | Since the sysdb is now synchronous and creates its own event context we don't need an explicit event context anymore in the tools. | ||||
* | Make groupshow synchronous. | Simo Sorce | 2010-04-12 | 1 | -310/+105 |
| | | | | | | | | I tried to convert this code as mechanically as possible from the previously existing code. I am not sure it works right, and it will probably recurse infinetly as circular group memberships are admitted in sysdb. The original code had the same issues. This code should be probably discarded and redone from scratch. | ||||
* | sysydb: Finally stop using a common event context | Simo Sorce | 2010-04-12 | 1 | -1/+1 |
| | | | | This commit completes the migration to a synchronous sysdb | ||||
* | sysdb: remove remaining traces of sysdb_handle | Simo Sorce | 2010-04-12 | 3 | -6/+1 |
| | |||||
* | sysdb: convert sysdb_getgrnam | Simo Sorce | 2010-04-12 | 6 | -101/+45 |
| | |||||
* | sysdb: convert sysdb_getpwnam | Simo Sorce | 2010-04-12 | 5 | -103/+57 |
| | |||||
* | Use the sysdb synchronous transaction functions | Simo Sorce | 2010-04-12 | 6 | -389/+84 |
| | |||||
* | sysdb: convert sysdb_search_groups | Simo Sorce | 2010-04-12 | 1 | -175/+59 |
| | |||||
* | sysdb: convert sysdb_mod/add/remove_group_member | Simo Sorce | 2010-04-12 | 1 | -371/+58 |
| | |||||
* | sysdb: convert sysdb_store/add(_basic)_group | Simo Sorce | 2010-04-12 | 1 | -101/+5 |
| | |||||
* | sysdb: convert sysdb_store/add(_basic)_user | Simo Sorce | 2010-04-12 | 1 | -110/+25 |
| | |||||
* | sysdb: convert sysdb_set_entry/user/group_attr | Simo Sorce | 2010-04-12 | 1 | -101/+12 |
| | |||||
* | sysdb: convert sysdb_search_group_by_name/gid | Simo Sorce | 2010-04-12 | 1 | -124/+96 |
| | |||||
* | sysdb: convert sysdb_search_user_by_name/uid | Simo Sorce | 2010-04-12 | 1 | -96/+31 |
| | |||||
* | sysdb: convert sysdb_delete_entry | Stephen Gallagher | 2010-04-12 | 4 | -237/+18 |
| | |||||
* | SELinux login management | Jakub Hrozek | 2010-04-08 | 5 | -0/+371 |
| | | | | | | | | | | 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. | ||||
* | Move SELinux related functions into its own module | Jakub Hrozek | 2010-04-08 | 3 | -60/+85 |
| | | | | Fix whitespace errors | ||||
* | Make sss_userdel check for logged in users | Jakub Hrozek | 2010-04-06 | 1 | -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 | ||||
* | Add userdel_cmd param | Jakub Hrozek | 2010-04-06 | 3 | -0/+83 |
| | | | | Fixes: #231 | ||||
* | Fix warnings from -Wmissing-field-initializers | Sumit Bose | 2010-03-25 | 1 | -1/+1 |
| | | | | This patch removes some tab-indentations from pamsrv.c, too. | ||||
* | Flush NSCD cache after modifying local database | Jakub Hrozek | 2010-03-15 | 3 | -0/+112 |
| | | | | Fixes: #221 | ||||
* | groupshow: only show all parents in recursive mode | Jakub Hrozek | 2010-03-08 | 1 | -21/+223 |
| | |||||
* | Add forgotten \n in DEBUG statements | Martin Nagy | 2010-03-04 | 1 | -1/+1 |
| | | | | | | Logs from confdb with missing '\n' in the DEBUG statements annoyed me so I decided to fix them. I also made a quick grep through the code and found other places so I fixed them too. | ||||
* | Rename server/ directory to src/ | Stephen Gallagher | 2010-02-18 | 12 | -0/+5646 |
Also update BUILD.txt |