freeipa/daemons/ipa-slapi-plugins
Nathaniel McCallum 168a6c7d47 Ensure that ipa-otpd bind auths validate an OTP
Before this patch, if the user was configured for either OTP or password
it was possible to do a 1FA authentication through ipa-otpd. Because this
correctly respected the configuration, it is not a security error.

However, once we begin to insert authentication indicators into the
Kerberos tickets, we cannot allow 1FA authentications through this
code path. Otherwise the ticket would contain a 2FA indicator when
only 1FA was actually performed.

To solve this problem, we have ipa-otpd send a critical control during
the bind operation which informs the LDAP server that it *MUST* validate
an OTP token for authentication to be successful. Next, we implement
support for this control in the ipa-pwd-extop plugin. The end result is
that the bind operation will always fail if the control is present and
no OTP is validated.

https://fedorahosted.org/freeipa/ticket/433

Reviewed-By: Sumit Bose <sbose@redhat.com>
2016-05-26 18:47:05 +02:00
..
common include <stdint.h> for uintptr_t 2011-09-22 09:42:11 -04:00
ipa-cldap cmocka_tests: Do not use deprecated cmocka interface 2015-11-18 12:54:43 +01:00
ipa-dns Fix minor typos 2015-07-17 14:33:30 +02:00
ipa-enrollment Remove CFLAGS duplication. 2013-12-06 14:44:41 +01:00
ipa-extdom-extop extdom: do not fail to process error case when no request is specified 2016-03-10 19:24:55 +01:00
ipa-lockout do not log BINDs to non-existent users as errors 2015-04-02 08:59:25 +00:00
ipa-modrdn Remove CFLAGS duplication. 2013-12-06 14:44:41 +01:00
ipa-otp-counter Fix various bugs in ipa-opt-counter and ipa-otp-lasttoken 2014-11-05 15:28:27 +01:00
ipa-otp-lasttoken OTP: failed search for the user of last token emits an error message 2015-01-30 11:02:16 +01:00
ipa-pwd-extop Ensure that ipa-otpd bind auths validate an OTP 2016-05-26 18:47:05 +02:00
ipa-range-check ipa-range-check: do not treat missing objects as error 2015-02-24 22:47:36 +01:00
ipa-sidgen ipa-sidgen: reduce log level to normal if domain SID is not available 2015-07-08 01:56:52 +02:00
ipa-uuid User Life Cycle: Exclude subtree for ipaUniqueID generation 2015-04-08 08:19:09 +02:00
ipa-version Remove CFLAGS duplication. 2013-12-06 14:44:41 +01:00
ipa-winsync Fix unchecked return values in ipa-winsync 2014-11-25 08:23:24 +00:00
libotp Fix an integer underflow bug in libotp 2015-09-29 15:16:09 +02:00
topology prevent moving of topology entries out of managed scope by modrdn operations 2016-01-21 12:52:08 +01:00
Makefile.am ds plugin - manage replication topology in the shared tree 2015-05-26 10:40:29 +02:00
README Mass tree reorganization for IPAv2. To view previous history of files use: 2009-02-03 15:27:14 -05:00