summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_idmap.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-28Add sdap_idmap_domain_has_algorithmic_mapping()Sumit Bose1-0/+3
This patch implements a wrapper for sss_idmap_domain_has_algorithmic_mapping() for the sdap ID mapping. Fixes https://fedorahosted.org/sssd/ticket/1960
2013-06-28Allow different methods to find new domains for idmappingSumit Bose1-0/+4
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
2013-04-29libsss_idmap: function to calculate rangeMichal Zidek1-8/+0
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
2012-05-03LDAP: Add helper function to map IDsStephen Gallagher1-0/+6
This function will also auto-create a new ID map if the domain has not been seen previously.
2012-05-03LDAP: Add routine to extract domain SID from an object SIDStephen Gallagher1-0/+5
Also makes the domain prefix macros from sss_idmap public.
2012-05-03LDAP: Add helper routines for ID-mappingStephen Gallagher1-0/+52