summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Dereference after null check in sss_idmap_sid_to_unixMichal Zidek2012-12-061-1/+5
| | | | https://fedorahosted.org/sssd/ticket/1684
* idmap: Silence DEBUG messages when dealing with built-in SIDs.Michal Zidek2012-11-282-1/+17
| | | | | | | | When converting built-in SID to unix GID/UID a confusing debug message about the failed conversion was printed. This patch special cases these built-in objects. https://fedorahosted.org/sssd/ticket/1593
* sss_idmap: fix typo which prevents sub auth larger then 2^31Sumit Bose2012-06-081-3/+3
| | | | A test to cover this is added as well.
* sss_idmap: add support for samba struct dom_sidSumit Bose2012-06-083-0/+305
| | | | | | | | 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.
* Rename struct dom_sid to struct sss_dom_sidSumit Bose2012-05-143-23/+23
| | | | | To avoid conflicts with struct dom_sid used by samba the sss_ prefix is added to the struct used by libsss_idmap.
* Fix endian issue in SID conversionSumit Bose2012-05-041-9/+13
| | | | | | 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.
* LDAP: Add routine to extract domain SID from an object SIDStephen Gallagher2012-05-032-2/+3
| | | | Also makes the domain prefix macros from sss_idmap public.
* Allow different SID representations in libidmapSumit Bose2012-05-014-13/+719
| | | | | | 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.
* Use HTML_TIMESTAMP instead of HTML_FOOTER_DESCRIPTIONJakub Hrozek2012-04-051-3/+4
| | | | https://fedorahosted.org/sssd/ticket/1271
* Add idmap librarySumit Bose2012-03-264-0/+2123