summaryrefslogtreecommitdiffstats
path: root/src/tests/sysdb-tests.c
Commit message (Collapse)AuthorAgeFilesLines
* Delete attributes that are removed from LDAPStephen Gallagher2011-01-211-1/+1
| | | | | | | | Sometimes, a value in LDAP will cease to exist (the classic example being shadowExpire). We need to make sure we purge that value from SSSD's sysdb as well. https://fedorahosted.org/sssd/ticket/750
* Add sysdb_has_enumerated and sysdb_set_enumerated helper functionsStephen Gallagher2010-12-201-0/+40
| | | | Includes a unit test
* Fix unchecked return value in test_sysdb_attrs_to_listStephen Gallagher2010-12-171-3/+6
| | | | https://fedorahosted.org/sssd/ticket/714
* Fix const cast warnings in testsStephen Gallagher2010-11-151-1/+1
|
* Fix const cast warning for sysdb_update_membersStephen Gallagher2010-11-151-4/+4
|
* Add unit tests for users and groups with odd charactersStephen Gallagher2010-11-151-0/+145
|
* Modify sysdb_[add|remove]_group_member to accept users and groupsStephen Gallagher2010-10-181-5/+10
| | | | | | | | Previously, it assumed that all members were users. This changes the interface so that either a user or a group can be specified. Also, it eliminates the need for a memory context to be passed, since the internal memory should be self-contained.
* sysdb interface for adding incomplete groupsJakub Hrozek2010-10-151-0/+40
| | | | Useful for optimizing the initgroups operation.
* Also return member groups to the clientSumit Bose2010-10-131-44/+44
|
* netgroup testsStephen Gallagher2010-10-131-0/+516
|
* Use POPT_TABLEEND to close option tableSumit Bose2010-10-131-1/+1
|
* Fix sysdb_group_dn_nameJakub Hrozek2010-09-221-0/+35
|
* Add parameter to skip cleanup in sysdb testJakub Hrozek2010-09-151-1/+4
| | | | This might be useful for examining the test database manually with LDB tools
* Add sysdb_update_members functionStephen Gallagher2010-08-031-0/+56
| | | | | | | | This function will take a user, a list of groups that this user should be added to and a list of groups the user should be removed from and will recursively call sysdb_[add|remove]_group_member Includes a unit test
* Add sysdb_attrs_to_list() utility functionStephen Gallagher2010-08-031-0/+31
|
* 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.
* 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-121-1/+1
| | | | 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
|
* Add --with-test-dir option to configureStephen Gallagher2010-03-041-0/+3
| | | | | | 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
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+3330
Also update BUILD.txt