diff options
author | Sumit Bose <sbose@redhat.com> | 2013-06-14 13:09:00 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-06-28 20:20:59 +0200 |
commit | 5e60c73cb91d1659755fb5ea829837db68d46163 (patch) | |
tree | 4a8408f379e5f39e55c822e774f88b743d6c6bdd /src/db/sysdb.h | |
parent | 8ff0aba893d8da1a8163ccaf9ad2c5b6bccd121f (diff) | |
download | sssd-5e60c73cb91d1659755fb5ea829837db68d46163.tar.gz sssd-5e60c73cb91d1659755fb5ea829837db68d46163.tar.xz sssd-5e60c73cb91d1659755fb5ea829837db68d46163.zip |
Add support for new ipaRangeType attribute
Recent versions of FreeIPA support a range type attribute to allow
different type of ranges for sub/trusted-domains. If the attribute is
available it will be used, if not the right value is determined with the
help of the other idrange attributes.
Fixes https://fedorahosted.org/sssd/ticket/1961
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 489188b7f..0b99dee07 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -130,6 +130,7 @@ #define SYSDB_BASE_RID "baseRID" #define SYSDB_SECONDARY_BASE_RID "secondaryBaseRID" #define SYSDB_DOMAIN_ID "domainID" +#define SYSDB_ID_RANGE_TYPE "idRangeType" #define SYSDB_NEXTID_FILTER "("SYSDB_NEXTID"=*)" @@ -245,6 +246,7 @@ struct range_info { uint32_t base_rid; uint32_t secondary_base_rid; char *trusted_dom_sid; + char *range_type; }; |