summaryrefslogtreecommitdiffstats
path: root/server/providers/ipa/ipa_common.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-02-15 16:20:36 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-02-16 16:06:55 -0500
commita40a817535c28712e27fe2c0f87817af43a249a2 (patch)
tree30010a66c2640ea22afb15b836392dcfe7e1acf4 /server/providers/ipa/ipa_common.h
parentae22be810696f35ac8f09930f0168519ba55350c (diff)
downloadsssd-a40a817535c28712e27fe2c0f87817af43a249a2.tar.gz
sssd-a40a817535c28712e27fe2c0f87817af43a249a2.tar.xz
sssd-a40a817535c28712e27fe2c0f87817af43a249a2.zip
Add test for number of options in IPA and LDAP backends
Diffstat (limited to 'server/providers/ipa/ipa_common.h')
-rw-r--r--server/providers/ipa/ipa_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/providers/ipa/ipa_common.h b/server/providers/ipa/ipa_common.h
index 8eaae715c..60c7313f0 100644
--- a/server/providers/ipa/ipa_common.h
+++ b/server/providers/ipa/ipa_common.h
@@ -32,6 +32,11 @@ struct ipa_service {
struct krb5_service *krb5_service;
};
+/* the following define is used to keep track of the options in the ldap
+ * module, so that if they change and ipa is not updated correspondingly
+ * this will trigger a runtime abort error */
+#define IPA_OPTS_BASIC_TEST 31
+
enum ipa_basic_opt {
IPA_DOMAIN = 0,
IPA_SERVER,