From 50318b60eebbed1dc1a488991dff7f86bfaca58f Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 16 Feb 2011 11:16:30 -0500 Subject: Fix duplicate OIDs Apparently we forgot to check OID consistency between the schema and the extensions, and we got duplicates. Technically the schema was done later but it is easier to change the extensions OIDs than to change the schema of current beta2/rc1 installations. The only side effect is that older ipa-getkeytab and ipa-join binaries will fail. So all the admin/client tools must be upgraded at the same time as well as all the masters (otherwise some will show/accept the new OID while others won't). Fixes: https://fedorahosted.org/freeipa/ticket/976 --- daemons/ipa-slapi-plugins/ipa-enrollment/ipa_enrollment.c | 2 +- daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'daemons') diff --git a/daemons/ipa-slapi-plugins/ipa-enrollment/ipa_enrollment.c b/daemons/ipa-slapi-plugins/ipa-enrollment/ipa_enrollment.c index ec1c3967..161a7317 100644 --- a/daemons/ipa-slapi-plugins/ipa-enrollment/ipa_enrollment.c +++ b/daemons/ipa-slapi-plugins/ipa-enrollment/ipa_enrollment.c @@ -53,7 +53,7 @@ #define IPA_PLUGIN_NAME "ipa-enrollment" /* OID of the extended operation handled by this plug-in */ -#define JOIN_OID "2.16.840.1.113730.3.8.3.53" +#define JOIN_OID "2.16.840.1.113730.3.8.10.3" Slapi_PluginDesc pdesc = { IPA_PLUGIN_NAME, diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c index d76b7f7c..9a1ca2b3 100644 --- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c +++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c @@ -64,8 +64,8 @@ #define EXOP_PASSWD_OID "1.3.6.1.4.1.4203.1.11.1" /* OID to retrieve keytabs */ -#define KEYTAB_SET_OID "2.16.840.1.113730.3.8.3.1" -#define KEYTAB_RET_OID "2.16.840.1.113730.3.8.3.2" +#define KEYTAB_SET_OID "2.16.840.1.113730.3.8.10.1" +#define KEYTAB_RET_OID "2.16.840.1.113730.3.8.10.2" -- cgit