Hi, this patch fixes a typo in the option name krb5_changepw_principal.
bye, Sumit
>From 18e9af89631c51e20c4b257a82900fa355a6de51 Mon Sep 17 00:00:00 2001 From: Sumit Bose <[email protected]> Date: Thu, 12 Nov 2009 10:54:23 +0100 Subject: [PATCH] Fix option name krb5_changepw_principal --- server/confdb/confdb.h | 2 +- server/man/sssd-krb5.5.xml | 6 +++--- server/providers/ipa/ipa_common.c | 2 +- server/providers/krb5/krb5_common.c | 2 +- server/upgrade/upgrade_config.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/server/confdb/confdb.h b/server/confdb/confdb.h index ef8a787..a564b17 100644 --- a/server/confdb/confdb.h +++ b/server/confdb/confdb.h @@ -105,7 +105,7 @@ #define CONFDB_KRB5_REALM "krb5_realm" #define CONFDB_KRB5_CCACHEDIR "krb5_ccachedir" #define CONFDB_KRB5_CCNAME_TMPL "krb5_ccname_template" -#define CONFDB_KRB5_CHANGEPW_PRINC "krb5_changepw_principle" +#define CONFDB_KRB5_CHANGEPW_PRINC "krb5_changepw_principal" #define CONFDB_KRB5_AUTH_TIMEOUT "krb5_auth_timeout" struct confdb_ctx; diff --git a/server/man/sssd-krb5.5.xml b/server/man/sssd-krb5.5.xml index 18d45ec..1ca2831 100644 --- a/server/man/sssd-krb5.5.xml +++ b/server/man/sssd-krb5.5.xml @@ -80,12 +80,12 @@ </varlistentry> <varlistentry> - <term>krb5_changepw_principle (string)</term> + <term>krb5_changepw_principal (string)</term> <listitem> <para> The priciple of the change password service. If only the 'identifier/instance' part of the - principle are given the realm part is added + principal are given the realm part is added automatically. </para> <para> @@ -125,7 +125,7 @@ </varlistentry> <varlistentry> <term>%p</term> - <listitem><para>principle name</para> + <listitem><para>principal name</para> </listitem> </varlistentry> <varlistentry> diff --git a/server/providers/ipa/ipa_common.c b/server/providers/ipa/ipa_common.c index ff96fca..38e4d53 100644 --- a/server/providers/ipa/ipa_common.c +++ b/server/providers/ipa/ipa_common.c @@ -110,7 +110,7 @@ struct dp_option ipa_def_krb5_opts[] = { { "krb5_realm", DP_OPT_STRING, NULL_STRING, NULL_STRING }, { "krb5_ccachedir", DP_OPT_STRING, { "/tmp" }, NULL_STRING }, { "krb5_ccname_template", DP_OPT_STRING, { "FILE:%d/krb5cc_%U_XXXXXX" }, NULL_STRING}, - { "krb5_changepw_princ", DP_OPT_STRING, { "kadmin/changepw" }, NULL_STRING }, + { "krb5_changepw_principal", DP_OPT_STRING, { "kadmin/changepw" }, NULL_STRING }, { "krb5_auth_timeout", DP_OPT_NUMBER, { .number = 15 }, NULL_NUMBER }, { "krb5_keytab", DP_OPT_STRING, { "/etc/krb5.keytab" }, NULL_STRING }, { "krb5_validate", DP_OPT_BOOL, BOOL_TRUE, BOOL_TRUE } diff --git a/server/providers/krb5/krb5_common.c b/server/providers/krb5/krb5_common.c index 4556257..30878de 100644 --- a/server/providers/krb5/krb5_common.c +++ b/server/providers/krb5/krb5_common.c @@ -33,7 +33,7 @@ struct dp_option default_krb5_opts[] = { { "krb5_realm", DP_OPT_STRING, NULL_STRING, NULL_STRING }, { "krb5_ccachedir", DP_OPT_STRING, { "/tmp" }, NULL_STRING }, { "krb5_ccname_template", DP_OPT_STRING, { "FILE:%d/krb5cc_%U_XXXXXX" }, NULL_STRING}, - { "krb5_changepw_principle", DP_OPT_STRING, { "kadmin/changepw" }, NULL_STRING }, + { "krb5_changepw_principal", DP_OPT_STRING, { "kadmin/changepw" }, NULL_STRING }, { "krb5_auth_timeout", DP_OPT_NUMBER, { .number = 15 }, NULL_NUMBER }, { "krb5_keytab", DP_OPT_STRING, { "/etc/krb5.keytab" }, NULL_STRING }, { "krb5_validate", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE } diff --git a/server/upgrade/upgrade_config.py b/server/upgrade/upgrade_config.py index a3d864a..213bb73 100644 --- a/server/upgrade/upgrade_config.py +++ b/server/upgrade/upgrade_config.py @@ -198,7 +198,7 @@ class SSSDConfigFile(object): krb5_kw = { 'krb5_kdcip' : 'krb5KDCIP', 'krb5_realm' : 'krb5REALM', 'krb5_try_simple_upn' : 'krb5try_simple_upn', - 'krb5_changepw_principle' : 'krb5changepw_principle', + 'krb5_changepw_principal' : 'krb5changepw_principle', 'krb5_ccachedir' : 'krb5ccache_dir', 'krb5_auth_timeout' : 'krb5auth_timeout', 'krb5_ccname_template' : 'krb5ccname_template', -- 1.6.2.5
_______________________________________________ sssd-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/sssd-devel
