summaryrefslogtreecommitdiff
path: root/src/providers/ipa
diff options
context:
space:
mode:
authorEugene Indenbom <eindenbom@gmail.com>2010-03-25 10:27:01 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-03-25 12:14:14 -0400
commit6bcdb688a3d1319ded1073f08e0350de9e5ba94e (patch)
treed2d752b50b412e33e7858a935c0a865e64136095 /src/providers/ipa
parent6dd4421e76c46f46d0699471703e7dc221d05db5 (diff)
downloadsssd-6bcdb688a3d1319ded1073f08e0350de9e5ba94e.tar.gz
sssd-6bcdb688a3d1319ded1073f08e0350de9e5ba94e.tar.bz2
sssd-6bcdb688a3d1319ded1073f08e0350de9e5ba94e.zip
Add krb5_kpasswd to IPA provider
The krb5 options were out of sync, causing a runtime abort.
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_common.c3
-rw-r--r--src/providers/ipa/ipa_common.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_common.c b/src/providers/ipa/ipa_common.c
index 13bb1139..2ad63d05 100644
--- a/src/providers/ipa/ipa_common.c
+++ b/src/providers/ipa/ipa_common.c
@@ -119,7 +119,8 @@ struct dp_option ipa_def_krb5_opts[] = {
{ "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 }
+ { "krb5_validate", DP_OPT_BOOL, BOOL_TRUE, BOOL_TRUE },
+ { "krb5_kpasswd", DP_OPT_STRING, NULL_STRING, NULL_STRING }
};
int domain_to_basedn(TALLOC_CTX *memctx, const char *domain, char **basedn)
diff --git a/src/providers/ipa/ipa_common.h b/src/providers/ipa/ipa_common.h
index 571eee64..54da6c8a 100644
--- a/src/providers/ipa/ipa_common.h
+++ b/src/providers/ipa/ipa_common.h
@@ -40,7 +40,7 @@ struct ipa_service {
/* the following define is used to keep track of the options in the krb5
* module, so that if they change and ipa is not updated correspondingly
* this will trigger a runtime abort error */
-#define IPA_KRB5_OPTS_TEST 8
+#define IPA_KRB5_OPTS_TEST 9
enum ipa_basic_opt {
IPA_DOMAIN = 0,