summaryrefslogtreecommitdiff
path: root/src/tests
AgeCommit message (Collapse)AuthorFilesLines
2013-02-10Change the way domains are linked.Simo Sorce2-87/+43
- Use a double-linked list for domains and subdomains. - Never remove a subdomain, simply mark it as disabled if it becomes unused. - Rework the way subdomains are refreshed. Now sysdb_update_subdomains() actually updates the current subdomains and marks as disabled the ones not found in the sysdb or add new ones found. It never removes them. Removal of missing domains from sysdb is deferred to the providers, which will perform it at refresh time, for the ipa provider that is done by ipa_subdomains_write_mappings() now. sysdb_update_subdomains() is then used to update the memory hierarchy of the subdomains. - Removes sysdb_get_subdomains() - Removes copy_subdomain() - Add sysdb_subdomain_delete()
2013-02-10Remove sysdb_subdom completelySimo Sorce1-45/+67
struct sss_domain_info is always used to represent domains now. Adjust tests accordingly.
2013-02-10Avoid sysdb_subdom in sysdb_get_subdomains()Simo Sorce1-11/+11
2013-02-10Add realm info to sss_domain_infoSimo Sorce1-3/+3
2013-01-29TESTS: include error message on failOndrej Kos1-8/+8
2013-01-29TESTS: Fix coverity issues 13126, 13127Ondrej Kos1-2/+6
https://fedorahosted.org/sssd/ticket/1763
2013-01-23TOOLS: Use file descriptor to avoid races when creating a home directoryJakub Hrozek1-3/+3
When creating a home directory, the destination tree can be modified in various ways while it is being constructed because directory permissions are set before populating the directory. This can lead to file creation and permission changes outside the target directory tree, using hard links. This security problem was assigned CVE-2013-0219 https://fedorahosted.org/sssd/ticket/1782
2013-01-15tests: unit test for sysdb_remove_attrsJakub Hrozek1-0/+45
2013-01-15tests: add unit test for sysdb_get_new_idJakub Hrozek1-1/+20
2013-01-15tests: test sysdb_initgroupsJakub Hrozek1-0/+48
2013-01-15tests: adda a unit test for test_sysdb_search_groupsJakub Hrozek1-0/+29
2013-01-15tests: unit test for test_sysdb_search_usersJakub Hrozek1-0/+31
2013-01-15tests: add a unit test for sysdb_netgroup_base_dnJakub Hrozek1-0/+23
2013-01-15Add domain arguments to sysdb ssh functionsSimo Sorce1-2/+4
2013-01-15Add domain arguments to sysdb services functionsSimo Sorce1-15/+9
also fix sysdb_svc_add declarations
2013-01-15Add domain argument to sysdb autofs functionsSimo Sorce1-8/+13
2013-01-15Add domain argument to sysdb_remove_attrs()Simo Sorce1-4/+4
2013-01-15Add domain argument to sysdb_has/set_enumerated()Simo Sorce1-5/+3
2013-01-15Add domain arg to sysdb_search/delete_netgroup()Simo Sorce1-1/+2
2013-01-15Add domain argument to sysdb_delete_group()Simo Sorce1-5/+8
Also remove sysdb_delete_domgroup()
2013-01-15Add domain argument to sysdb_delete_user()Simo Sorce1-5/+8
Also remove sysdb_delete_domuser()
2013-01-15Add domain to sysdb_delete_customSimo Sorce1-1/+1
2013-01-15Add domain argument to sysdb_search_custom()Simo Sorce1-1/+3
Also changes sysdb_search_custom_by_name()
2013-01-15Add domain argument to sysdb_store_custom()Simo Sorce1-1/+1
2013-01-15Add domain argument to sysdb_cache_auth()Simo Sorce1-4/+8
2013-01-15Add domain argument to sysdb_cache_password()Simo Sorce1-1/+1
2013-01-15Add domain arg to sysdb group member functionsSimo Sorce1-6/+10
2013-01-15Add domain argument to sysdb_store_group()Simo Sorce1-9/+12
Also remove sysdb_store_domgroup()
2013-01-15Add domain argument to sysdb_store_user()Simo Sorce1-9/+14
Also remove sysdb_store_domuser()
2013-01-15Add domain arguments to sysdb_add_inetgroup fns.Simo Sorce1-2/+2
2013-01-15Add domain arguments to sysdb_add_group functions.Simo Sorce1-7/+9
2013-01-15Add domain argument to sysdb_add_user()Simo Sorce1-2/+2
2013-01-15Add domain argument to sysdb_add_basic_user()Simo Sorce1-0/+1
2013-01-15Add domain argument to sysdb_set_netgroup_attr()Simo Sorce1-1/+1
2013-01-15Add domain argument to sysdb_set_group_attr()Simo Sorce1-12/+12
2013-01-15Add domain argument to sysdb_set_user_attr()Simo Sorce1-3/+4
2013-01-15Add domain arg to sysdb_search_netgroup_by_name()Simo Sorce1-0/+1
2013-01-15Add domain to sysdb_search_group_by_gid()Simo Sorce1-1/+24
Also remove unused sysdb_search_domgroup_by_gid()
2013-01-15Add domain to sysdb_search_group_by_name()Simo Sorce1-3/+4
Also remove unused sysdb_search_domgroup_by_name()
2013-01-15Add domain to sysdb_search_user_by_uid()Simo Sorce1-1/+2
Also remove unused sysdb_search_domuser_by_uid()
2013-01-15Add domain to sysdb_search_user_by_name()Simo Sorce1-3/+4
Also remove unused sysdb_search_domuser_by_name()
2013-01-15Add domain argument to sysdb_get_user_attr()Simo Sorce1-2/+2
2013-01-15Add domain option to sysdb_get/netgr/attrs() fnsSimo Sorce1-3/+3
2013-01-15Pass domain to sysdb_enum<pw/gr>ebt() functionsSimo Sorce1-0/+2
2013-01-15Pass domain to sysdb_get<pwu/grg><id() functionsSimo Sorce1-0/+2
2013-01-15Pass domain to sysdb_get<pw/gr>nam() functionsSimo Sorce1-8/+20
Also allows us to remove sysdb_subdom_get<pw/gr>nam() wrappers and restore fqnames proper value in subdomains, by testing for a parent domain being present or not.
2013-01-15Make sysdb_domain_dn() require a domain.Simo Sorce1-1/+1
2013-01-15Make sysdb_netgroup_dn() require a domain explictly.Simo Sorce1-2/+4
2013-01-15Make sysdb_group_dn() require a domain explictly.Simo Sorce1-2/+4
2013-01-15Make sysdb_user_dn() require a domain explictly.Simo Sorce1-2/+4