From a40a817535c28712e27fe2c0f87817af43a249a2 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 15 Feb 2010 16:20:36 +0100 Subject: Add test for number of options in IPA and LDAP backends --- server/providers/ipa/ipa_common.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/providers/ipa/ipa_common.h') 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, -- cgit