Red Hat Bugzilla – Bug 1075141
[GSS 7.0] if access_provider is not set sssd fails with no good error
Last modified: 2015-03-05 05:27:33 EST
Description of problem: Apparently its critical that "id_provider" and "access_provider" be "ad". If access_provider is ldap, sssd falls over hard without any good error. If both are set to "ad", things seem to work correctly and Sites is consulted. Version-Release number of selected component (if applicable): How reproducible: Configure sssd to talk to AD server. Set id_provider=ad but leave access_provider set to something else. Actual results: sssd falls over hard without a good error message Expected results: Have sssd indicate via error message that there are inconsistencies with "id_provider" and "access_provider" Additional info: https://fedorahosted.org/sssd/wiki/Configuring_sssd_with_ad_server http://jhrozek.livejournal.com/#post-jhrozek-2801 http://jhrozek.livejournal.com/#post-jhrozek-3019
>>> BZ to look for inconsistencies between access_provider and id_provider >> OK, but I'd like to ask you to formulate exactly what you see >> as lacking. I'm all for fixing the documentation, but since I know >> the internals, the inconsistencies might not be apparent to me. > I think the BZ here is that sssd doesn't show a good error message > when this the two above are not in sync or correct. Makes sense. As a matter of fact, we discovered another similar case last week, where a user wasn't able to troubleshoot a configuration that included id_provider=ad && sudo_provider=ldap
Upstream ticket: https://fedorahosted.org/sssd/ticket/2281
Fixed upstream: master: b3f56d9e4bd065590383eb1f812a3b77e3c56f24
Verified in version sssd-1.12.2-39.el7 man sssd-ad now includes: However, unless the “ad” access control provider is explicitly configured, the default access provider is “permit”. Please note that if you configure an access provider other than “ad”, you need to set all the connection parameters (such as LDAP URIs and encryption details) manually.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0441.html