diff options
author | Sumit Bose <sbose@redhat.com> | 2013-06-10 12:06:27 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-06-28 18:57:23 +0200 |
commit | 9ef0d43b961c05f1aae2ec21eed4142ae3221bc3 (patch) | |
tree | d2551632b1e5d970f12aae9463f35a3b384d27cb /src/lib/idmap/sss_idmap.h | |
parent | 95a08a0c02281b28bd1914e0727b40ae25b4e16a (diff) | |
download | sssd-9ef0d43b961c05f1aae2ec21eed4142ae3221bc3.tar.gz sssd-9ef0d43b961c05f1aae2ec21eed4142ae3221bc3.tar.bz2 sssd-9ef0d43b961c05f1aae2ec21eed4142ae3221bc3.zip |
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
Diffstat (limited to 'src/lib/idmap/sss_idmap.h')
-rw-r--r-- | src/lib/idmap/sss_idmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/idmap/sss_idmap.h b/src/lib/idmap/sss_idmap.h index 3beeca11..5536aeb7 100644 --- a/src/lib/idmap/sss_idmap.h +++ b/src/lib/idmap/sss_idmap.h @@ -256,6 +256,8 @@ enum idmap_error_code sss_idmap_add_domain(struct sss_idmap_ctx *ctx, * SID (S-1-15-.....) * @param[in] range TBD Some information about the id ranges of this * domain + * @param[in] range_id optional unique identifier of a range, it is needed + * to allow updates at runtime * @param[in] rid The RID that should be mapped to the first ID of the * given range. * @@ -270,6 +272,7 @@ enum idmap_error_code sss_idmap_add_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); /** * @brief Translate SID to a unix UID or GID |