summaryrefslogtreecommitdiff
path: root/src/tests/sysdb-tests.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-15sysdb refactoring: memory context deletedJan Zeleny1-21/+20
This patch deletes memory context parameter in those places in sysdb where it is not necessary. The code using modified functions has been updated. Tests updated as well.
2011-08-15sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny1-108/+56
The patch also updates code using modified functions. Tests have also been adjusted.
2011-06-02Non-posix group processing - sysdb changesJan Zeleny1-4/+6
2011-04-25Case insensitive originalDN testJakub Hrozek1-0/+47
2011-03-23Add originalDN to fake groupsJakub Hrozek1-2/+2
2011-01-21Delete attributes that are removed from LDAPStephen Gallagher1-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
2010-12-20Add sysdb_has_enumerated and sysdb_set_enumerated helper functionsStephen Gallagher1-0/+40
Includes a unit test
2010-12-17Fix unchecked return value in test_sysdb_attrs_to_listStephen Gallagher1-3/+6
https://fedorahosted.org/sssd/ticket/714
2010-11-15Fix const cast warnings in testsStephen Gallagher1-1/+1
2010-11-15Fix const cast warning for sysdb_update_membersStephen Gallagher1-4/+4
2010-11-15Add unit tests for users and groups with odd charactersStephen Gallagher1-0/+145
2010-10-18Modify sysdb_[add|remove]_group_member to accept users and groupsStephen Gallagher1-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.
2010-10-15sysdb interface for adding incomplete groupsJakub Hrozek1-0/+40
Useful for optimizing the initgroups operation.
2010-10-13Also return member groups to the clientSumit Bose1-44/+44
2010-10-13netgroup testsStephen Gallagher1-0/+516
2010-10-13Use POPT_TABLEEND to close option tableSumit Bose1-1/+1
2010-09-22Fix sysdb_group_dn_nameJakub Hrozek1-0/+35
2010-09-15Add parameter to skip cleanup in sysdb testJakub Hrozek1-1/+4
This might be useful for examining the test database manually with LDB tools
2010-08-03Add sysdb_update_members functionStephen Gallagher1-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
2010-08-03Add sysdb_attrs_to_list() utility functionStephen Gallagher1-0/+31
2010-05-26Add support for delayed kinit if offlineSumit Bose1-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.
2010-04-14Fix warning in sysdb-tests.cStephen Gallagher1-8/+0
When we converted to the synchronous sysdb interface, the synchronous-simulating function test_loop() became unnecessary, but we forgot to remove it.
2010-04-12sysydb: Finally stop using a common event contextSimo Sorce1-1/+1
This commit completes the migration to a synchronous sysdb
2010-04-12sysdb: remove remaining traces of sysdb_handleSimo Sorce1-1/+0
2010-04-12sysdb: convert sysdb_enumgrentSimo Sorce1-32/+7
2010-04-12sysdb: convert sysdb_enumpwentSimo Sorce1-32/+5
2010-04-12sysdb: convert sysdb_get_user_attrSimo Sorce1-46/+16
2010-04-12sysdb: convert sysdb_getgrgidSimo Sorce1-48/+17
2010-04-12sysdb: convert sysdb_getgrnamSimo Sorce1-52/+27
2010-04-12sysdb: convert sysdb_getpwuidSimo Sorce1-48/+16
2010-04-12sysdb: convert sysdb_getpwnamSimo Sorce1-52/+25
2010-04-12tests: remove use of asynchronus transactionsSimo Sorce1-502/+86
now all calls are synchronous
2010-04-12sysdb: convert sysdb_cache_authSimo Sorce1-39/+18
2010-04-12sysdb: delete sysdb_delete_groupSimo Sorce1-40/+7
2010-04-12sysdb: convert sysdb_delete_userSimo Sorce1-41/+4
2010-04-12sysdb: convert sysdb_asq_searchSimo Sorce1-36/+23
2010-04-12sysdb: convert sysdb_store_customSimo Sorce1-18/+3
2010-04-12sysdb: convert sysdb_search_customSimo Sorce1-102/+67
2010-04-12sysdb: convert sysdb_cache_passwordSimo Sorce1-11/+3
2010-04-12sysdb: convert sysdb_mod/add/remove_group_memberSimo Sorce1-36/+6
2010-04-12sysdb: convert sysdb_store/add(_basic)_groupSimo Sorce1-56/+9
2010-04-12sysdb: convert sysdb_store/add(_basic)_userSimo Sorce1-43/+9
2010-04-12sysdb: convert sysdb_set_entry/user/group_attrSimo Sorce1-18/+3
2010-04-12sysdb: convert sysdb_search_group_by_name/gidSimo Sorce1-120/+63
2010-04-12sysdb: convert sysdb_search_entry and sysdb_delete_recursiveSimo Sorce1-37/+6
2010-04-12sysdb: convert sysdb_delete_customSimo Sorce1-18/+2
2010-04-12sysdb: convert sysdb_delete_entryStephen Gallagher1-36/+2
2010-03-04Add --with-test-dir option to configureStephen Gallagher1-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
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+3330
Also update BUILD.txt