summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_common.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-03-29 13:41:41 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-05-16 13:28:12 -0400
commit928ff09ea3975edbf53df05a1ade365a588dc69d (patch)
tree7baf52cc9840a987fb034c77b310425380b1ee6f /src/providers/ipa/ipa_common.h
parent5f2593e24f565b202821329f1f9cb103241d80bb (diff)
downloadsssd-928ff09ea3975edbf53df05a1ade365a588dc69d.tar.gz
sssd-928ff09ea3975edbf53df05a1ade365a588dc69d.tar.xz
sssd-928ff09ea3975edbf53df05a1ade365a588dc69d.zip
New version of IPA auth and password migration
The current version modified some global structures to be able to use Kerberos and LDAP authentication during the IPA password migration. This new version only uses tevent requests. Additionally the ipaMigrationEnabled attribute is read from the IPA server to see if password migration is allowed or not.
Diffstat (limited to 'src/providers/ipa/ipa_common.h')
-rw-r--r--src/providers/ipa/ipa_common.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_common.h b/src/providers/ipa/ipa_common.h
index 9daede2db..f53c022e5 100644
--- a/src/providers/ipa/ipa_common.h
+++ b/src/providers/ipa/ipa_common.h
@@ -50,6 +50,12 @@ enum ipa_basic_opt {
IPA_OPTS_BASIC /* opts counter */
};
+struct ipa_auth_ctx {
+ struct krb5_ctx *krb5_auth_ctx;
+ struct sdap_auth_ctx *sdap_auth_ctx;
+ struct dp_option *ipa_options;
+};
+
struct ipa_options {
struct dp_option *basic;
@@ -61,7 +67,7 @@ struct ipa_options {
/* auth and chpass provider */
struct dp_option *auth;
- struct krb5_ctx *auth_ctx;
+ struct ipa_auth_ctx *auth_ctx;
};
int domain_to_basedn(TALLOC_CTX *memctx, const char *domain, char **basedn);