summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add ability to trace 64bit numbersDmitri Pal2010-04-142-2/+58
| | | | [TRACE] Adding macros for signed numbers
* Acess control and config change checksDmitri Pal2010-04-144-38/+684
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Fixed the issue that metadata was saved as numbers. Was supposed to be saved as strings. 2) Added two functions. One is to check permissions on the config file. Another to check if the file has changed and thus the cinfiguration needs to be reread. 3) Added unit test will sample code and comments how to use the functions. 4) Added doxygen description in the comments. 5) Fixed couple typos and ommisions here and there. [INI] Fixing crash detected on 64-bit system This patch corrects original code to be more on the safe side and check parameters before using. Instead of dereferencing metadata it is now passed as reference to the next level. It is not used there yet so no other new changes needed so far. [INI] Addressing review comments [INI] Addressing comments.
* Resolve paths for reporting purposesDmitri Pal2010-04-142-4/+21
|
* Adding content to the metadataDmitri Pal2010-04-144-13/+140
| | | | | | This patch implements function that collects stats and saves them in the ACCESS section inside metadata.
* Adding metadata interfaceDmitri Pal2010-04-147-277/+915
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch: 1) Adds the definition of the metadata interface to the header file. The functions that were exposed for no good reason are now hidden. 2) Previously exposed functions and their descriptions are removed from the public header and placed into the source code for now. 3) The function that reads the config file no longer tries to close file in case of error. 4) Lines collection is still passed in into the reading function but as a collection itself not as a pointer to it. 5) All the parts related to processing lines are currently ifdefed using HAVE_VALIDATION that is currently is not defined. This is done to disable creation of the lines collection utill it is actually needed. I did not want to blindly remove it though and loose already done work that will be useful in future. 6) Version of the library and interface is updated 7) New header and source modules are introduced to hold functions related to the meta data. They are mostly stubbed out. This is incomplete patch. It builds and make check runs. It is created just to simplify the review a bit.
* Update Polish translationPiotr Drąg2010-04-121-20/+16
|
* Update Ukrainian translationYuri Chornoivan2010-04-121-18/+19
|
* Fix merge error for sss_userdel.cStephen Gallagher2010-04-121-21/+1
|
* Update translations for master branchStephen Gallagher2010-04-1214-1996/+2694
|
* Bumping version on master to 1.2.90Stephen Gallagher2010-04-121-1/+1
|
* 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
|