History log of /sssd/src/providers/ldap/sdap_idmap.h
Revision Date Author Comments Expand
fdda4b659fa3be3027df91a2b053835186ec2c59 25-Oct-2013 Sumit Bose <sbose@redhat.com>

sdap_idmap_domain_has_algorithmic_mapping: add domain name argument When libss_idmap was only used to algorithmically map a SID to a POSIX ID a domain SID was strictly necessary and the only information needed to find a domain. With the introduction of external mappings there are cases where a domain SID is not available. Currently we relied on the fact that external mapping was always used as a default if not specific information about the domain was found. The lead to extra CPU cycles and potentially confusing debug messages. Adding the domain name as a search parameter will avoid this.

b2c7b6fe7a6b9ef3af8d4d3037fe83d6e9bfd6a5 28-Jun-2013 Sumit Bose <sbose@redhat.com>

Add sdap_idmap_domain_has_algorithmic_mapping() This patch implements a wrapper for sss_idmap_domain_has_algorithmic_mapping() for the sdap ID mapping. Fixes https://fedorahosted.org/sssd/ticket/1960

bfb40893be20b45279a40188cf16ef0eec1f9423 28-Jun-2013 Sumit Bose <sbose@redhat.com>

Allow different methods to find new domains for idmapping Currently the range management code is in the generic LDAP provider and can be used by the LDAP and AD provider. New ranges are allocated with the help of a hash value of the domain SID. If the IPA provider cannot find a range for a given domain it cannot allocate a new range on its own but has to look up the idrange objects on the FreeIPA server and use them accordingly. To allow the LDAP, AD and IPA provider to use as much common code as possible a plugin interface, similar to the one used to find the DNS site, to find a missing range would be useful. The default plugin will be used by the LDAP and the AD provider and the IPA provider will implement a plugin to read the data from the server. Fixes https://fedorahosted.org/sssd/ticket/1961

46222e5191473f9a46aec581273eb2eef22e23be 29-Apr-2013 Michal Zidek <mzidek@redhat.com>

libsss_idmap: function to calculate range Calculation of range for domains is moved from sdap_idmap code to sss_idmap code. Some refactoring have been done to allow this move. https://fedorahosted.org/sssd/ticket/1844

8be5e4497e5008f7807178acdfcbf97365ec4e73 03-May-2012 Stephen Gallagher <sgallagh@redhat.com>

LDAP: Add helper function to map IDs This function will also auto-create a new ID map if the domain has not been seen previously.

45f75fc8e98092fa48faa3d180fd42f7efd51486 03-May-2012 Stephen Gallagher <sgallagh@redhat.com>

LDAP: Add routine to extract domain SID from an object SID Also makes the domain prefix macros from sss_idmap public.

505e75ba28b42bb3de7a6d55de825091b70cc2b2 03-May-2012 Stephen Gallagher <sgallagh@redhat.com>

LDAP: Add helper routines for ID-mapping