Red Hat Bugzilla – Full Text Bug Listing
|Summary:||Unable to bind to IPA server when minssf set|
|Product:||[Fedora] Fedora||Reporter:||Erinn Looney-Triggs <erinn.looneytriggs>|
|Component:||sssd||Assignee:||Stephen Gallagher <sgallagh>|
|Status:||CLOSED ERRATA||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Version:||16||CC:||jhrozek, sbose, sgallagh, ssorce|
|Fixed In Version:||sssd-1.8.3-11.fc16||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|:||803842 (view as bug list)||Environment:|
|Last Closed:||2012-05-15 19:25:49 EDT||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Bug Depends On:|
Description Erinn Looney-Triggs 2012-03-14 13:38:55 EDT
Description of problem: I changed the configuration of my IPA server and set minssf to 56, as is documented n the IPA guide. All my RHEL based systems continue to function. But my one fedora desktop is now unable to bind to the server, and as such is not getting any updated information. From the logs: Unexpected result from ldap: Server is unwilling to perform(53), Minimum SSF not met. Version-Release number of selected component (if applicable): sssd-1.8.0-6.fc16.x86_64 How reproducible: set minssf on server, watch sssd fail to bind. Frankly with all the caching that goes on I wouldn't have even noticed that it wasn't working except for a password change that arose after minssf was set. As I said this continues to work fine in RHEL 5 and 6, so chances are this is something new or a bugfix that wasn't forward ported. -Erinn
Comment 1 Stephen Gallagher 2012-03-15 13:47:41 EDT
Upstream ticket: https://fedorahosted.org/sssd/ticket/1257
Comment 2 Stephen Gallagher 2012-03-15 14:03:24 EDT
Ok, it turns out that there are two bugs at play here. The first is a 389-DS bug: https://fedorahosted.org/389/ticket/168 Basically, when setting the minssf to 56, it prevents SSSD from being able to read the RootDSE (that contains some basic information about the LDAP server's capabilities). In SSSD 1.5.x (aka RHEL 5.8 and 6.2) we had a bug that was coincidentally working in your favor. We weren't throwing an error at one particular point, and instead we continued on. Just by pure luck, this would work fine with SSSD as long as enumerate = false (it could result in some unfortunate behavior with enumerate=true). In SSSD 1.8.x, we fixed the error so that now the RootDSE is failing loudly instead of silently. In the average (non-IPA) case, we should be allowing it to just continue on, and we're submitting a patch upstream to do that. This will result in you continuing to see the behavior you saw on 1.5.x. But the correct long-term fix is for https://fedorahosted.org/389/ticket/168 to be fixed (and for you to set the nsslapd-minssf-exclude-rootdse option.
Comment 3 Stephen Gallagher 2012-04-09 07:14:02 EDT
Correcting the previous statement. We cannot count on the server to always behave properly (this issue has turned up on AD and OpenLDAP configurations as well). We need to modify SSSD so that if it cannot get the RootDSE prior to authentication, we should attempt to acquire it afterwards. https://fedorahosted.org/sssd/ticket/1258
Comment 4 Fedora Update System 2012-05-03 16:49:16 EDT
sssd-1.8.3-11.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/sssd-1.8.3-11.fc17
Comment 5 Fedora Update System 2012-05-03 16:56:53 EDT
sssd-1.8.3-11.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/sssd-1.8.3-11.fc16
Comment 6 Fedora Update System 2012-05-03 23:11:53 EDT
Package sssd-1.8.3-11.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing sssd-1.8.3-11.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-7279/sssd-1.8.3-11.fc17 then log in and leave karma (feedback).
Comment 7 Fedora Update System 2012-05-15 19:25:49 EDT
sssd-1.8.3-11.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2012-05-26 03:43:25 EDT
sssd-1.8.3-11.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.