summaryrefslogtreecommitdiff
path: root/src/tests/sss_idmap-tests.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-17Make leak checks usable in tests that do not utilize checkJakub Hrozek1-9/+9
* Remove check-specific failure reporting from common_check.c * Check-specific abstraction over memleak checks * Rename common_check.c to leak_check.c
2012-06-08sss_idmap: fix typo which prevents sub auth larger then 2^31Sumit Bose1-0/+37
A test to cover this is added as well.
2012-06-08sss_idmap: add support for samba struct dom_sidSumit Bose1-2/+100
The samba ndr libraries use struct dom_sid to handle SIDs. Since there is no public samba library which offers conversion from other representations, e.g. as string, this is added to libsss_idmap. To avoid compile-time or run-time dependency to any samba library or header file the definition of the struct is copied here.
2012-05-14Rename struct dom_sid to struct sss_dom_sidSumit Bose1-8/+8
To avoid conflicts with struct dom_sid used by samba the sss_ prefix is added to the struct used by libsss_idmap.
2012-05-04Fix endian issue in SID conversionSumit Bose1-1/+3
Since the byte-order is only important when dealing with the binary SID the sub-auth values are stored in host order and are only converted while reading or writing the binary SID.
2012-05-01Allow different SID representations in libidmapSumit Bose1-0/+206
Besides as strings it is now possible to use binary SIDs or a struct containing all SID information. Functions to convert between these formats are added as well.
2012-03-26Add idmap librarySumit Bose1-0/+231