summaryrefslogtreecommitdiffstats
path: root/server/providers/ipa/ipa_auth.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-11-04 12:39:00 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-11-20 16:46:47 -0500
commit0e4eba0a994d286ae0832adc1731ab2dc10c5ff9 (patch)
treeb787c77df7ef16d0fcae46a2177dc039beb4d7c1 /server/providers/ipa/ipa_auth.h
parent53b4c8fdb26ac799544f8ef8f12e0cadac8ea5e1 (diff)
downloadsssd-0e4eba0a994d286ae0832adc1731ab2dc10c5ff9.tar.gz
sssd-0e4eba0a994d286ae0832adc1731ab2dc10c5ff9.tar.xz
sssd-0e4eba0a994d286ae0832adc1731ab2dc10c5ff9.zip
Add ipa_auth
To support IPA DS to Kerberos password migration a seperate authentication target is added. It calls the Kerberos authentication target and in the case of a 'Preauthentication Error' the LDAP authentication target. On success the Kerberos target is called again to request the TGT.
Diffstat (limited to 'server/providers/ipa/ipa_auth.h')
-rw-r--r--server/providers/ipa/ipa_auth.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/server/providers/ipa/ipa_auth.h b/server/providers/ipa/ipa_auth.h
new file mode 100644
index 000000000..3079bbd1b
--- /dev/null
+++ b/server/providers/ipa/ipa_auth.h
@@ -0,0 +1,32 @@
+/*
+ SSSD
+
+ IPA Backend Module -- Authentication
+
+ Authors:
+ Sumit Bose <sbose@redhat.com>
+
+ Copyright (C) 2009 Red Hat
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef _IPA_AUTH_H_
+#define _IPA_AUTH_H_
+
+#include "providers/dp_backend.h"
+
+void ipa_auth(struct be_req *be_req);
+
+#endif /* _IPA_AUTH_H_ */