summaryrefslogtreecommitdiff
path: root/src/tests/pac_responder-tests.c
AgeCommit message (Collapse)AuthorFilesLines
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.
2012-11-10Add diff_gid_lists() with testSumit Bose1-2/+107
This patch adds a new call which compares a list of current GIDs with a list of new GIDs and return a list of GIDs which are currently missing and must be added and another list of GIDs which are not used anymore and must be deleted. The method is the same as used by diff_string_lists().
2012-06-21PAC responder: test suiteJan Zeleny1-0/+106