summaryrefslogtreecommitdiff
path: root/src/tests
AgeCommit message (Collapse)AuthorFilesLines
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
2013-01-15Refactor single domain initializationSimo Sorce3-9/+9
Bring it out of sysdb, which will slowly remove internal dependencies on domains and instead will always require them to be passed by callers.
2013-01-10Change pam data auth tokens.Simo Sorce1-5/+8
Use the new authtok abstraction and interfaces throught the code.
2013-01-10Code can only check for cached passwordsSimo Sorce1-4/+2
Make it clear to the API users that we can not take arbitrary auth tokens. We can only take a password for now so simplify and clarify the interface.
2013-01-08Remove dead netgroup functionsSimo Sorce1-264/+0
2013-01-08Refactor gid handling in the PAC responderSumit Bose1-21/+36
Instead of using a single array of gid-domain_pointer pairs, Simo suggested to use a gid array for each domain an store it with a pointer to the domain.
2013-01-08Add tests for get_gids_from_pac()Sumit Bose1-0/+256
2013-01-08Add find_domain_by_id()Sumit Bose1-0/+49
Currently domains can only be searched by name in the global domain list. To make it easier to find the domain for a given SID find_domain_by_id() which returns a pointer to the domain or subdomain entry in the global domain list if a matching id was found.
2013-01-08Use struct pac_grp instead of gid_t for groups from PACSumit Bose1-8/+11
To be able to handle groupmemberships from other domains more data than just the gid must be kept for groups given in the PAC.
2013-01-06Remove unused headerSimo Sorce1-1/+0