[SSSD] [PATCH] Allow different SID representations in libidmap

2012-04-26 Thread Sumit Bose
Hi, this patch extends the functionality of libidmap by allow more kind of SID representations, especially the binary format which is used e.g. to store SIDs in AD. I have added tests for all new functions, but mostly they only test the positve case and do not try to break anything with invalid

[SSSD] [PATCH] Assorted fixed found by the clang static analyzer

2012-04-26 Thread Jakub Hrozek
I scanned the SSSD source code with the clang static analyzer and found a number of issues. Patches are attached -- I think that most of them are OK to just include in master. Patches #1, #13 and #16 may be something that we want to include sooner. Because the clang analyzer is freely available