summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_idmap.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-06-14 13:09:00 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-06-28 20:20:59 +0200
commit5e60c73cb91d1659755fb5ea829837db68d46163 (patch)
tree4a8408f379e5f39e55c822e774f88b743d6c6bdd /src/providers/ipa/ipa_idmap.c
parent8ff0aba893d8da1a8163ccaf9ad2c5b6bccd121f (diff)
downloadsssd-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/providers/ipa/ipa_idmap.c')
-rw-r--r--src/providers/ipa/ipa_idmap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/providers/ipa/ipa_idmap.c b/src/providers/ipa/ipa_idmap.c
index a02724f3e..c108ca75b 100644
--- a/src/providers/ipa/ipa_idmap.c
+++ b/src/providers/ipa/ipa_idmap.c
@@ -23,10 +23,7 @@
#include "util/util.h"
#include "providers/ldap/sdap_idmap.h"
-
-#define IPA_RANGE_LOCAL "ipa-local"
-#define IPA_RANGE_AD_TRUST "ipa-ad-trust"
-#define IPA_RANGE_AD_TRUST_POSIX "ipa-ad-trust-posix"
+#include "providers/ipa/ipa_common.h"
static void *
ipa_idmap_talloc(size_t size, void *pvt)