History log of /sssd/src/lib/idmap/sss_idmap_conv.c
Revision Date Author Comments Expand
1658c567191c35beaddffafdb079abe33248037b 28-Aug-2013 Lukas Slebodnik <lslebodn@redhat.com>

UTIL: Create new wraper header file sss_endian.h Some platform have header file endian.h and anothers have sys/endian.h. We nedd to use conditional build to handle it correctly, therefore new header file sss_endian.h was created.

726e335681428614c2909b9c2987286a05afb982 03-Apr-2013 Jakub Hrozek <jhrozek@redhat.com>

Fix potential out-of-bounds write in sss_idmap_sid_to_dom_sid https://fedorahosted.org/sssd/ticket/1861

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.