diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-02-15 16:20:36 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-16 16:06:55 -0500 |
commit | a40a817535c28712e27fe2c0f87817af43a249a2 (patch) | |
tree | 30010a66c2640ea22afb15b836392dcfe7e1acf4 /server/providers/ipa | |
parent | ae22be810696f35ac8f09930f0168519ba55350c (diff) | |
download | sssd-a40a817535c28712e27fe2c0f87817af43a249a2.tar.gz sssd-a40a817535c28712e27fe2c0f87817af43a249a2.tar.bz2 sssd-a40a817535c28712e27fe2c0f87817af43a249a2.zip |
Add test for number of options in IPA and LDAP backends
Diffstat (limited to 'server/providers/ipa')
-rw-r--r-- | server/providers/ipa/ipa_common.c | 5 | ||||
-rw-r--r-- | server/providers/ipa/ipa_common.h | 5 |
2 files changed, 5 insertions, 5 deletions
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, |