This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1034560 - RFE: Investigate pmcd saslauthd integration and whether this can be default enabled
RFE: Investigate pmcd saslauthd integration and whether this can be default e...
Status: CLOSED EOL
Product: Fedora
Classification: Fedora
Component: pcp (Show other bugs)
22
All All
unspecified Severity low
: ---
: ---
Assigned To: Nathan Scott
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-26 01:21 EST by Nathan Scott
Modified: 2016-07-19 16:03 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-19 16:03:55 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nathan Scott 2013-11-26 01:21:54 EST
Description of problem:
When working on SASL authentication in pmcd, it was noticed that use of the saslauthd mechanism did not complete the authentication correctly.  It appears to reject everything pmcd passes to it, including what pmcd believes to be valid username and password combinations.

We know these are making their way successfully into saslauthd, as it logs a message to its logfile saying authentication attempt rejected, every time.

Other forms of SASL authentication attempted appear to work as expected.

Once working, we should consider further whether this can be enabled by default.  The only other confounding factor here (AFAIK) is that to do so, we will need a packaging dependency on the saslauthd package - which may not be a default install.  It runs as root too (saslauthd, that is, as it needs to read the shadow passwd file), so it may be some people have a problem with having such a dependency in pcp.


Version-Release number of selected component (if applicable):
pcp-3.8.x and later.

How reproducible:
Every time.

Steps to Reproduce:
1. Configure /etc/sasl2/pmcd.conf to use saslauthd for password checking
2. Check detailed notes in lab.secure.html in pcp-doc package.
3. Attempt an authenticated connection

Actual results:
User is not authenticated, connection attempt is rejected.

Expected results:
User should be allowed to proceed on with an authenticated connection if valid credentials are passed, accessing performance data and so on.

Additional info:
Comment 1 Nathan Scott 2013-11-28 21:05:47 EST
Possibly related; SELinux may be involved (RHEL6 host tested).
https://lists.fedoraproject.org/pipermail/selinux/2013-January/015038.html

$ getsebool -a | grep sasl
allow_saslauthd_read_shadow --> off
Comment 2 Jaroslav Reznik 2015-03-03 10:14:11 EST
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
Comment 3 Nathan Scott 2015-07-30 01:21:53 EDT
Note also that pmdaroot(1) now provides us an option to solve the underlying problem here, and in a way that doesn't depend on any additional packages or external daemons running.
Comment 4 Fedora End Of Life 2016-07-19 16:03:55 EDT
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.