c377d4d604f1e7b35c484711f1084b7a761772b6 |
|
24-Jul-2017 |
Sumit Bose <sbose@redhat.com> |
idmap_error_string: add missing descriptions
Related to https://pagure.io/SSSD/sssd/issue/1960
Related to https://pagure.io/SSSD/sssd/issue/1938
Related to https://pagure.io/SSSD/sssd/issue/1844
Related to https://pagure.io/SSSD/sssd/issue/1593
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
c744f9df3b6b169c8c70fcfd063ab6402229218e |
|
05-Jul-2016 |
Lukas Slebodnik <lslebodn@redhat.com> |
DOC: Fix few typos in doxygen comments
src/confdb/confdb.h:572: warning: argument 'memctx' of command @param
is not found in the argument list of
confdb_get_sub_sections(TALLOC_CTX *mem_ctx, struct confdb_ctx *cdb,
const char *section, char ***sections, int *num_sections)
src/confdb/confdb.h:592: warning: The following parameters of
confdb_get_sub_sections(TALLOC_CTX *mem_ctx, struct confdb_ctx *cdb,
const char *section, char ***sections, int *num_sections)
are not documented:
src/lib/idmap/sss_idmap.h:315: warning: argument 's_cv' of command @param
is not found in the argument list of
sss_idmap_add_auto_domain_ex(struct sss_idmap_ctx *ctx,
const char *domain_name, const char *domain_sid,
struct sss_idmap_range *range, const char *range_id, uint32_t rid,
bool external_mapping, idmap_store_cb cb, void *pvt)
src/lib/idmap/sss_idmap.h:94: warning: The following parameters of
sss_idmap_add_auto_domain_ex(struct sss_idmap_ctx *ctx,
const char *domain_name, const char *domain_sid,
struct sss_idmap_range *range, const char *range_id, uint32_t rid,
bool external_mapping, idmap_store_cb cb, void *pvt)
are not documented:
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
8babbeee01e67893af4828ddfc922ecac0be4197 |
|
20-Jan-2016 |
Pavel Reichl <preichl@redhat.com> |
IDMAP: Add support for automatic adding of ranges
Resolves:
https://fedorahosted.org/sssd/ticket/2188
Reviewed-by: Sumit Bose <sbose@redhat.com> |
ff6e24f4474cca6226cd44c47ba2ec6ba6cf9a16 |
|
26-Feb-2014 |
Sumit Bose <sbose@redhat.com> |
IDMAP: add sss_idmap_check_collision(_ex)
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
3b35ff47651e4893ce537a273466766b962362da |
|
17-Feb-2014 |
Lukas Slebodnik <lslebodn@redhat.com> |
DOC: Fix names of arguments in doxygen comments
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
5c94d34d890c75ec179a32d2cda4fa060d2b5f0c |
|
07-Nov-2013 |
Pavel Březina <pbrezina@redhat.com> |
idmap: add API to free allocated SIDs |
3cbbfb4b05d0eb0a0809704e83589d0075e117a0 |
|
25-Oct-2013 |
Sumit Bose <sbose@redhat.com> |
idmap: add sss_idmap_domain_by_name_has_algorithmic_mapping() |
546f1e38fa7ec1d86dd44117dda45f456fb00d39 |
|
03-Sep-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
Include sys/types.h for types id_t and uid_t |
7f02ba09b9481f59c309fd09a88089857e7fe79f |
|
28-Jun-2013 |
Sumit Bose <sbose@redhat.com> |
idmap: add sss_idmap_domain_has_algorithmic_mapping
With this call it can be checked if for a given domain algorithmic
mapping is available or if the ID must be read from an external source.
The default if an error occurs or no matching range was found is false,
i.e external mapping, to meet the requirements for simple LDAP based
domains where only external mapping is available.
Fixes https://fedorahosted.org/sssd/ticket/1960 |
9869c20a4db6ce7e285a9d7ae7007718a6de207e |
|
28-Jun-2013 |
Sumit Bose <sbose@redhat.com> |
idmap: add calls to check if ID mapping conforms to ranges
When ID are mapped externally it must be checked if the extern ID falls
into the right configured range to avoid ID conflicts.
Fixes https://fedorahosted.org/sssd/ticket/1960 |
c63c8a63ab062a9c4397278a29b12bd32c4f3895 |
|
28-Jun-2013 |
Sumit Bose <sbose@redhat.com> |
idmap: add option to indicate external_mapping
The idea is that ranges for IDs from AD can be used in libsss_idmap as
well, but whenever a mapping is requested for this range a specific
error code IDMAP_EXTERNAL is returned to tell SSSD to do
an AD lookup. This way SSSD does not need to inspect the ranges itself
but all is done inside if libsss_idmap.
Fixes https://fedorahosted.org/sssd/ticket/1960 |
9ef0d43b961c05f1aae2ec21eed4142ae3221bc3 |
|
28-Jun-2013 |
Sumit Bose <sbose@redhat.com> |
idmap: add optional unique range id
To be able to detect configuration changes in idranges managed by
FreeIPA an identifier should be stored on the client together with the
other idrange related data.
Fixes https://fedorahosted.org/sssd/ticket/1979 |
95a08a0c02281b28bd1914e0727b40ae25b4e16a |
|
28-Jun-2013 |
Sumit Bose <sbose@redhat.com> |
idmap: allow first RID to be set
Currently libss_idmap implicitly assumes that the RID 0 is always mapped
to the first ID of the given range. This is not the case anymore when
multiple ranges are used e.g. for trusted domains in FreeIPA.
A new call sss_idmap_add_domain_ex() was added which can take the first
RID as an argument. This new call will get more options with other
patches hence I didn't change the library version with this patch.
Fixes https://fedorahosted.org/sssd/ticket/1938 |
504902d12a1ea1d3774bacd9a35efd9cecd5f9c2 |
|
11-Jun-2013 |
Sumit Bose <sbose@redhat.com> |
Fix some doxygen warnings |
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 |
6f504738cad1ee9daa1bd6eec721caceef65f21d |
|
08-Jan-2013 |
Sumit Bose <sbose@redhat.com> |
IDMAP: add sss_idmap_smb_sid_to_unix()
To avoid a conversion on the caller side a new call is added to
libsss_idmap which converts a Samba dom_sid structure to a Posix ID. |
d6f283302268520c1506fb3da4f2a22f5a741be5 |
|
28-Nov-2012 |
Michal Zidek <mzidek@redhat.com> |
idmap: Silence DEBUG messages when dealing with built-in SIDs.
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 |
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. |
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. |
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. |
a6098862048d4bb469130b9ff21be3020d6f2c54 |
|
27-Mar-2012 |
Sumit Bose <sbose@redhat.com> |
Add idmap library |