summaryrefslogtreecommitdiffstats
path: root/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Standardize on correct spelling of "principal" for krb5Stephen Gallagher2010-06-161-4/+4
| | | | https://fedorahosted.org/sssd/ticket/542
* Print correct return codeJakub Hrozek2010-06-141-1/+1
| | | | Fixes: #535
* Add support for delayed kinit if offlineSumit Bose2010-05-261-2/+2
| | | | | | | If the configuration option krb5_store_password_if_offline is set to true and the backend is offline the plain text user password is stored and used to request a TGT if the backend becomes online. If available the Linux kernel key retention service is used.
* Sort SRV replies according to RFC 2782Jakub Hrozek2010-04-301-0/+88
| | | | | | | | | | RFC 2782 defines a way to sort replies to a SRV query. In short, the algorithm sorts all replies by priority and then does a weight-based selection for every priority level. For details, please see the sections "Usage rules" for overview of the algorithm and section "The 'Weight' field" for description on the weight selection.
* Fix warning in sysdb-tests.cStephen Gallagher2010-04-141-8/+0
| | | | | | When we converted to the synchronous sysdb interface, the synchronous-simulating function test_loop() became unnecessary, but we forgot to remove it.
* sysydb: Finally stop using a common event contextSimo Sorce2010-04-122-2/+2
| | | | This commit completes the migration to a synchronous sysdb
* sysdb: remove remaining traces of sysdb_handleSimo Sorce2010-04-121-1/+0
|
* sysdb: convert sysdb_enumgrentSimo Sorce2010-04-121-32/+7
|
* sysdb: convert sysdb_enumpwentSimo Sorce2010-04-121-32/+5
|
* sysdb: convert sysdb_get_user_attrSimo Sorce2010-04-121-46/+16
|
* sysdb: convert sysdb_getgrgidSimo Sorce2010-04-121-48/+17
|
* sysdb: convert sysdb_getgrnamSimo Sorce2010-04-121-52/+27
|
* sysdb: convert sysdb_getpwuidSimo Sorce2010-04-121-48/+16
|
* sysdb: convert sysdb_getpwnamSimo Sorce2010-04-121-52/+25
|
* tests: remove use of asynchronus transactionsSimo Sorce2010-04-121-502/+86
| | | | now all calls are synchronous
* sysdb: convert sysdb_cache_authSimo Sorce2010-04-121-39/+18
|
* sysdb: delete sysdb_delete_groupSimo Sorce2010-04-121-40/+7
|
* sysdb: convert sysdb_delete_userSimo Sorce2010-04-121-41/+4
|
* sysdb: convert sysdb_asq_searchSimo Sorce2010-04-121-36/+23
|
* sysdb: convert sysdb_store_customSimo Sorce2010-04-121-18/+3
|
* sysdb: convert sysdb_search_customSimo Sorce2010-04-121-102/+67
|
* sysdb: convert sysdb_cache_passwordSimo Sorce2010-04-121-11/+3
|
* sysdb: convert sysdb_mod/add/remove_group_memberSimo Sorce2010-04-121-36/+6
|
* sysdb: convert sysdb_store/add(_basic)_groupSimo Sorce2010-04-121-56/+9
|
* sysdb: convert sysdb_store/add(_basic)_userSimo Sorce2010-04-121-43/+9
|
* sysdb: convert sysdb_set_entry/user/group_attrSimo Sorce2010-04-121-18/+3
|
* sysdb: convert sysdb_search_group_by_name/gidSimo Sorce2010-04-121-120/+63
|
* sysdb: convert sysdb_search_entry and sysdb_delete_recursiveSimo Sorce2010-04-121-37/+6
|
* sysdb: convert sysdb_delete_customSimo Sorce2010-04-121-18/+2
|
* sysdb: convert sysdb_delete_entryStephen Gallagher2010-04-121-36/+2
|
* Protect against check-and-open race conditionsStephen Gallagher2010-04-061-2/+2
| | | | | | | | | | | | | | | | | 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.
* Add a test for domain_to_basedn()Sumit Bose2010-03-251-0/+47
|
* Regression test against RHBZ #576856Jakub Hrozek2010-03-251-0/+2
|
* Fix build when check-devel is not installedStephen Gallagher2010-03-122-82/+109
| | | | | tests/common.c is now required by all tests (check-based and not), so we need to properly ifdef it
* Add expandable sequences to krb5_ccachedirSumit Bose2010-03-111-92/+470
| | | | | | | As with krb5_ccname_template sequences like %u can be used in the krb5_ccachedir parameter which are expanded at runtime. If the directory does not exist, it will be created. Depending on the used sequences it is created as a public or private directory.
* Add simple access providerSumit Bose2010-03-081-0/+173
|
* Do not run negative resolv test with no networkJakub Hrozek2010-03-081-3/+73
| | | | | | One of our resolv tests tries to resolve a nonexistent hostname. Do not run this test unless we are explicitly told that a network connection is available (-n). Also do not automatically resolving localhost.
* Add forgotten \n in DEBUG statementsMartin Nagy2010-03-042-3/+3
| | | | | | 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.
* Add --with-test-dir option to configureStephen Gallagher2010-03-0415-1/+58
| | | | | | All 'make check' tests will chdir() into this directory before running the suite. This provides the option of having temporary files generated in a tmpfs or ramdisk
* Check and set permissions on SBUS socketsSumit Bose2010-02-232-9/+10
|
* Restrict family lookupsJakub Hrozek2010-02-222-7/+21
| | | | | | | Adds a new option that tells resolver which address family to prefer or use exclusively. Fixes: #404
* Remove unneeded items from struct pam_dataSumit Bose2010-02-191-2/+2
|
* Fix licensing issues in SSSDStephen Gallagher2010-02-181-0/+24
|
* Rename server/ directory to src/Stephen Gallagher2010-02-1816-0/+7777
Also update BUILD.txt