From: Ken Raeburn Date: Tue, 29 Aug 2006 20:41:50 +0000 (+0000) Subject: Rename KRB5_KDB_PLUGIN_OP_NOTSUPP to KRB5_PLUGIN_OP_NOTSUPP and move to krb5 table X-Git-Tag: krb5-1.6-alpha1~159 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b5751dce4a0d06e13ea5c9f287d23db92467e455;p=krb5.git Rename KRB5_KDB_PLUGIN_OP_NOTSUPP to KRB5_PLUGIN_OP_NOTSUPP and move to krb5 table git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18550 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/error_tables/kdb5_err.et b/src/lib/krb5/error_tables/kdb5_err.et index 953fff328..d6014acec 100644 --- a/src/lib/krb5/error_tables/kdb5_err.et +++ b/src/lib/krb5/error_tables/kdb5_err.et @@ -75,7 +75,6 @@ ec KRB5_KDB_SERVER_INTERNAL_ERR, "Server error" ec KRB5_KDB_ACCESS_ERROR, "Unable to access Kerberos database" ec KRB5_KDB_INTERNAL_ERROR, "Kerberos database internal error" ec KRB5_KDB_CONSTRAINT_VIOLATION, "Kerberos database constraints violated" -ec KRB5_KDB_PLUGIN_OP_NOTSUPP, "Plugin does not support the operaton" end diff --git a/src/lib/krb5/error_tables/krb5_err.et b/src/lib/krb5/error_tables/krb5_err.et index 865c838a6..918f351c2 100644 --- a/src/lib/krb5/error_tables/krb5_err.et +++ b/src/lib/krb5/error_tables/krb5_err.et @@ -344,4 +344,5 @@ error_code KRB5_CC_NOSUPP, "Ccache function not supported: not implemented" error_code KRB5_DELTAT_BADFORMAT, "Invalid format of Kerberos lifetime or clock skew string" error_code KRB5_PLUGIN_NO_HANDLE, "Supplied data not handled by this plugin" +error_code KRB5_PLUGIN_OP_NOTSUPP, "Plugin does not support the operaton" end diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c index af061640b..a13d1c7a5 100644 --- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c +++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c @@ -1473,7 +1473,7 @@ krb5_add_int_mem_ldap_mod(mods, attribute, op, value) krb5_error_code krb5_ldap_set_option( krb5_context kcontext, int option, void *value ) { - krb5_error_code status = KRB5_KDB_PLUGIN_OP_NOTSUPP; + krb5_error_code status = KRB5_PLUGIN_OP_NOTSUPP; krb5_set_error_message( kcontext, status, "LDAP %s", error_message( status ) ); return status; } @@ -1481,7 +1481,7 @@ krb5_ldap_set_option( krb5_context kcontext, int option, void *value ) krb5_error_code krb5_ldap_lock( krb5_context kcontext, int mode ) { - krb5_error_code status = KRB5_KDB_PLUGIN_OP_NOTSUPP; + krb5_error_code status = KRB5_PLUGIN_OP_NOTSUPP; krb5_set_error_message( kcontext, status, "LDAP %s", error_message( status ) ); return status; } @@ -1489,7 +1489,7 @@ krb5_ldap_lock( krb5_context kcontext, int mode ) krb5_error_code krb5_ldap_unlock( krb5_context kcontext ) { - krb5_error_code status = KRB5_KDB_PLUGIN_OP_NOTSUPP; + krb5_error_code status = KRB5_PLUGIN_OP_NOTSUPP; krb5_set_error_message( kcontext, status, "LDAP %s", error_message( status ) ); return status; } @@ -1497,7 +1497,7 @@ krb5_ldap_unlock( krb5_context kcontext ) krb5_error_code krb5_ldap_supported_realms( krb5_context kcontext, char **realms ) { - krb5_error_code status = KRB5_KDB_PLUGIN_OP_NOTSUPP; + krb5_error_code status = KRB5_PLUGIN_OP_NOTSUPP; krb5_set_error_message( kcontext, status, "LDAP %s", error_message( status ) ); return status; } @@ -1505,7 +1505,7 @@ krb5_ldap_supported_realms( krb5_context kcontext, char **realms ) krb5_error_code krb5_ldap_free_supported_realms( krb5_context kcontext, char **realms ) { - krb5_error_code status = KRB5_KDB_PLUGIN_OP_NOTSUPP; + krb5_error_code status = KRB5_PLUGIN_OP_NOTSUPP; krb5_set_error_message( kcontext, status, "LDAP %s", error_message( status ) ); return status; } @@ -1513,7 +1513,7 @@ krb5_ldap_free_supported_realms( krb5_context kcontext, char **realms ) krb5_error_code krb5_ldap_errcode_2_string( krb5_context kcontext, long err_code ) { - krb5_error_code status = KRB5_KDB_PLUGIN_OP_NOTSUPP; + krb5_error_code status = KRB5_PLUGIN_OP_NOTSUPP; krb5_set_error_message( kcontext, status, "LDAP %s", error_message( status ) ); return status; } diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c index 87f619c9d..d2ed2d9e5 100644 --- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c +++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c @@ -1654,7 +1654,7 @@ krb5_ldap_free_realm_params(rparams) krb5_error_code krb5_ldap_create_realm_1(krb5_context kcontext, char *conf_section, char **db_args) { - krb5_error_code status = KRB5_KDB_PLUGIN_OP_NOTSUPP; + krb5_error_code status = KRB5_PLUGIN_OP_NOTSUPP; krb5_set_error_message( kcontext, status, "LDAP %s", error_message( status ) ); return status; } @@ -1662,7 +1662,7 @@ krb5_ldap_create_realm_1(krb5_context kcontext, char *conf_section, char **db_ar krb5_error_code krb5_ldap_delete_realm_1(krb5_context kcontext, char *conf_section, char **db_args) { - krb5_error_code status = KRB5_KDB_PLUGIN_OP_NOTSUPP; + krb5_error_code status = KRB5_PLUGIN_OP_NOTSUPP; krb5_set_error_message( kcontext, status, "LDAP %s", error_message( status ) ); return status; }