summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* tools: remove creation of event_contextSimo Sorce2010-04-1210-47/+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 Sorce2010-04-121-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 contextSimo Sorce2010-04-1210-30/+14
| | | | This commit completes the migration to a synchronous sysdb
* sysdb: remove remaining traces of sysdb_handleSimo Sorce2010-04-1211-237/+1
|
* sysdb: remove obsolete helpers from sysdbSimo Sorce2010-04-122-158/+0
|
* sysdb: convert sysdb_initgroupsSimo Sorce2010-04-123-318/+166
|
* Adjust fill_pwent and fill_grentSimo Sorce2010-04-121-13/+13
| | | | | | | | | fill_pwent should return the number of users actually processed. Otherwise in case of a recoverable error we may end up skipping a large chunk of users. fill_grent doesn't need to distinguish between number of entries and number of groups to process since we started adding memberuid. Remove remnants that are not useful anymore.
* sysdb: convert sysdb_enumgrentSimo Sorce2010-04-124-249/+147
|
* sysdb: convert sysdb_enumpwentSimo Sorce2010-04-124-259/+144
|
* sysdb: convert sysdb_get_user_attrSimo Sorce2010-04-126-293/+160
|
* sysdb: convert sysdb_getgrgidSimo Sorce2010-04-124-263/+160
|
* sysdb: convert sysdb_getgrnamSimo Sorce2010-04-1210-394/+253
|
* sysdb: convert sysdb_getpwuidSimo Sorce2010-04-124-265/+146
|
* sysdb: convert sysdb_getpwnamSimo Sorce2010-04-1212-623/+415
|
* sysdb: add automatic transactions where neededSimo Sorce2010-04-121-7/+47
| | | | | | Only functions that do multiple operations need explicit transactions as ldb_add/ldb_modify/ldb_delete already start transactions automatically intenrally.
* sysdb: remove async transactionsSimo Sorce2010-04-122-157/+0
| | | | not used anymore
* Remove remaining use of sysdb_transaction_sendSimo Sorce2010-04-125-723/+205
|
* Use the sysdb synchronous transaction functionsSimo Sorce2010-04-127-424/+104
|
* proxy: complete conversion to synchronous sysdbSimo Sorce2010-04-121-1113/+428
| | | | This makes proxy use only synchronous functions again.
* sysdb: add synchronous transaction functionsSimo Sorce2010-04-122-14/+37
|
* tests: remove use of asynchronus transactionsSimo Sorce2010-04-121-502/+86
| | | | now all calls are synchronous
* sysdb: remove sysdb_check_handleSimo Sorce2010-04-121-90/+0
| | | | not used anymore
* sysdb: convert sysdb_cache_authSimo Sorce2010-04-124-264/+136
|
* sysdb: convert sysdb_search_groupsSimo Sorce2010-04-124-410/+151
|
* sysdb: delete sysdb_delete_groupSimo Sorce2010-04-126-321/+109
|
* sysdb: convert sysdb_delete_userSimo Sorce2010-04-126-356/+115
|
* sysdb: convert sysdb_search_usersSimo Sorce2010-04-123-169/+72
|
* sysdb remove sldb_request_send, not used anymoreSimo Sorce2010-04-121-125/+0
|
* sysdb: convert sysdb_asq_searchSimo Sorce2010-04-124-358/+140
|
* sysdb: convert sysdb_store_customSimo Sorce2010-04-124-258/+93
|
* sysdb: convert sysdb_search_customSimo Sorce2010-04-124-371/+229
|
* sysdb: convert sysdb_cache_passwordSimo Sorce2010-04-126-209/+62
|
* sysdb: convert sysdb_mod/add/remove_group_memberSimo Sorce2010-04-124-628/+117
|
* sysdb: convert sysdb_store/add(_basic)_groupSimo Sorce2010-04-126-850/+294
|
* sysdb: convert sysdb_store/add(_basic)_userSimo Sorce2010-04-126-891/+430
|
* sysdb: convert sysdb_get_new_idSimo Sorce2010-04-122-397/+136
|
* sysdb: convert sysdb_set_entry/user/group_attrSimo Sorce2010-04-127-589/+144
|
* sysdb: convert sysdb_search_group_by_name/gidSimo Sorce2010-04-124-596/+277
|
* sysdb: convert sysdb_search_user_by_name/uidSimo Sorce2010-04-124-616/+219
|
* sysdb: convert sysdb_search_entry and sysdb_delete_recursiveSimo Sorce2010-04-125-456/+121
|
* sysdb: convert sysdb_delete_customSimo Sorce2010-04-123-147/+36
|
* sysdb: use sysdb_delete_entry in recursive deleteSimo Sorce2010-04-121-58/+8
|
* sysdb: convert sysdb_delete_entryStephen Gallagher2010-04-129-430/+101
|
* sysdb: start conversion from async to syncSimo Sorce2010-04-121-0/+4
| | | | allow nesting during transition
* Support docdir and abs_builddirStephen Gallagher2010-04-121-0/+1
| | | | | | | | Old versions of autoconf (before 2.60) did not include support for the docdir and abs_builddir variables. This patch emulates support for them. Fixes https://fedorahosted.org/sssd/ticket/422
* Updating IT translationGuido Grazioli2010-04-081-135/+160
|
* SELinux login managementJakub Hrozek2010-04-0811-0/+434
| | | | | | | | | | 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 moduleJakub Hrozek2010-04-084-60/+86
| | | | Fix whitespace errors
* Adding Russion TranslationDmitry Drozdov2010-04-072-0/+861
|
* Protect against check-and-open race conditionsStephen Gallagher2010-04-063-30/+79
| | | | | | | | | | | | | | | | | There is a small window between running lstat() on a filename and opening it where it's possible for the file to have been modified. We were protecting against this by saving the stat data from the original file and verifying that it was the same file (by device and inode) when we opened it again, but this is an imperfect solution, as it is still possible for an attacker to modify the permissions during this window. It is much better to simply open the file and test on the active file descriptor. Resolves https://fedorahosted.org/sssd/ticket/425 incidentally, as without the initial lstat, we are implicitly accepting symlinks and only verifying the target file.