History log of /sssd/src/tests/sss_idmap-tests.c
Revision Date Author Comments Expand
4f3a996561445ba82c854bb2b674f975f596e884 18-Feb-2016 Lukas Slebodnik <lslebodn@redhat.com>

sss_idmap-tests: Fix segmentation fault I can reproduce it only with clang. But it's tipical off by one error. sh$ ./sss_idmap-tests Running suite(s): IDMAP Segmentation fault (core dumped) Running suite(s): IDMAP ==2644== Process terminating with default action of signal 11 (SIGSEGV) ==2644== Access not within mapped region at address 0xA08F430 ==2644== at 0x4C2CC53: strcmp (vg_replace_strmem.c:842) ==2644== by 0x4060DA: idmap_test_sid2uid_additional_secondary_slices (sss_idmap-tests.c:451) ==2644== by 0x503C78A: ??? (in /usr/lib64/libcheck.so.0.0.0) ==2644== by 0x503CB7C: srunner_run (in /usr/lib64/libcheck.so.0.0.0) ==2644== by 0x4061EE: main (sss_idmap-tests.c:965) ==2644== If you believe this happened as a result of a stack ==2644== overflow in your program's main thread (unlikely but ==2644== possible), you can try to increase the size of the ==2644== main thread stack using the --main-stacksize= flag. ==2644== The main thread stack size used in this run was 8388608. Reviewed-by: Sumit Bose <sbose@redhat.com>

8babbeee01e67893af4828ddfc922ecac0be4197 20-Jan-2016 Pavel Reichl <preichl@redhat.com>

IDMAP: Add support for automatic adding of ranges Resolves: https://fedorahosted.org/sssd/ticket/2188 Reviewed-by: Sumit Bose <sbose@redhat.com>

6469f42ca80bb9b955875d590485b0d9366491df 07-Nov-2013 Pavel Březina <pbrezina@redhat.com>

free idmapped binary SIDs correctly Resolves: https://fedorahosted.org/sssd/ticket/2133

89fdf07e77054b2931673bd1f082cb459607c0ec 07-Nov-2013 Pavel Březina <pbrezina@redhat.com>

free idmapped smb SIDs correctly Resolves: https://fedorahosted.org/sssd/ticket/2133

9e9b2e473ceb93bf3bbf2a6c65eb9c8467ba425a 07-Nov-2013 Pavel Březina <pbrezina@redhat.com>

free idmapped dom SIDs correctly Resolves: https://fedorahosted.org/sssd/ticket/2133

4537e95f6741ae05ec620e5b46ca1d4a3a1ceae5 07-Nov-2013 Pavel Březina <pbrezina@redhat.com>

free idmapped SIDs correctly Resolves: https://fedorahosted.org/sssd/ticket/2133

d9059ad391cc73ad91893c3eab509d08699d5aba 17-Oct-2013 Sumit Bose <sbose@redhat.com>

idmap: allow ranges with external mapping to overlap If POSIX IDs are managed externally e.g. by AD it might be possible that the IDs are centrally manages for the whole forest. Hence there might not be a single ID range for each member domain in the forest but only a single ID range for the whole forest. This means that we have to allow collisions if ID ranges in this case. Unit tests are added to make sure that the collisions are only allowed for external mappings.

4139a7a731f2831963a42b26aac111422be28792 17-Apr-2013 Jakub Hrozek <jhrozek@redhat.com>

Make leak checks usable in tests that do not utilize check * Remove check-specific failure reporting from common_check.c * Check-specific abstraction over memleak checks * Rename common_check.c to leak_check.c

2d07aa724c93bbaec2cd29470941c0754c74f715 08-Jun-2012 Sumit Bose <sbose@redhat.com>

sss_idmap: fix typo which prevents sub auth larger then 2^31 A test to cover this is added as well.

2998435fcc95857b73049b3955af9889ab595f24 08-Jun-2012 Sumit Bose <sbose@redhat.com>

sss_idmap: add support for samba struct dom_sid 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.

c51a204a40b8f85f7f525edb3e24520916d8b9c7 14-May-2012 Sumit Bose <sbose@redhat.com>

Rename struct dom_sid to struct sss_dom_sid To avoid conflicts with struct dom_sid used by samba the sss_ prefix is added to the struct used by libsss_idmap.

9fd2775fe1ced6ff6a9a3ff7db124fcb52dade5d 04-May-2012 Sumit Bose <sbose@redhat.com>

Fix endian issue in SID conversion 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.

b6dfbf81c61d4431aaa81687ec53e892f8b71edb 01-May-2012 Sumit Bose <sbose@redhat.com>

Allow different SID representations in libidmap 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.

a6098862048d4bb469130b9ff21be3020d6f2c54 27-Mar-2012 Sumit Bose <sbose@redhat.com>

Add idmap library