summaryrefslogtreecommitdiffstats
path: root/src/tests/pac_responder-tests.c
Commit message (Collapse)AuthorAgeFilesLines
* Refactor gid handling in the PAC responderSumit Bose2013-01-081-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.
* Add tests for get_gids_from_pac()Sumit Bose2013-01-081-0/+256
|
* Add find_domain_by_id()Sumit Bose2013-01-081-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.
* Use struct pac_grp instead of gid_t for groups from PACSumit Bose2013-01-081-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.
* Add diff_gid_lists() with testSumit Bose2012-11-121-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().
* PAC responder: test suiteJan Zeleny2012-06-211-0/+106