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.c | 5 ----- server/providers/ipa/ipa_common.h | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'server/providers') diff --git a/server/providers/ipa/ipa_common.c b/server/providers/ipa/ipa_common.c index f675e086..7686227a 100644 --- a/server/providers/ipa/ipa_common.c +++ b/server/providers/ipa/ipa_common.c @@ -214,11 +214,6 @@ done: return ret; } -/* 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 - int ipa_get_id_options(struct ipa_options *ipa_opts, struct confdb_ctx *cdb, const char *conf_path, diff --git a/server/providers/ipa/ipa_common.h b/server/providers/ipa/ipa_common.h index 8eaae715..60c7313f 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