Hide Forgot
softoken has a built in FIPS login state as well as the login state of individual tokens. For tokens that don't have passwords, softoken needs to simulate those passwords. If softoken is logged in, but the underlying token doesn't know about being logged in, softoken pretends that the token is logged in to the user. This is correct behavior for tokens that don't have login state, but tokens that do have login state, this prevents the underlying token from ever getting logged in. This creates the problem in slapd described in bug 1352109. Bug 1387811 works around the problem for slapd, but other uses my still see the error.
It's possible this is also an issue we are seeing in 389-ds-base with replication using SSL client authentication in FIPS mode: https://bugzilla.redhat.com/show_bug.cgi?id=1464463 Originally we had issues with replication over SSL in FIPS mode, which was resolved, but when we use SSL client authentication it breaks again in FIPS mode.
The patch for the issue described in this bug is in https://bugzilla.redhat.com/show_bug.cgi?id=1390154. This is one of two patches in softoken that need to be pushed upstream. I don't think it's the same issue as https://bugzilla.redhat.com/show_bug.cgi?id=1464463, since the code in bug 1464463 is running with this patch.
This bug is only needed if we rebase softoken. The current RHEL-6 has a different login code than RHEL7 and upstream, which support FIPS level 1 semantics.