#3849 Files: The files provider always enumerates which causes duplicate when running getent passwd
Closed: Fixed Opened by jhrozek.

For reason I cannot explain now, the files provider always enumerates. There is commit a60e6ec802cd2858dc85eabd442cff16fb23618f which implements this, but it's clearly wrong, because then the plain getent passwd output contains duplicates from nss_files and nss_sss:

getent passwd  | sort
adm:x:3:4:adm:/var/adm:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
bin:x:1:1:bin:/bin:/sbin/nologin
bin:x:1:1:bin:/bin:/sbin/nologin
certuser:x:10329:10330::/home/certuser:/bin/bash
certuser:x:10329:10330::/home/certuser:/bin/bash
chrony:x:997:994::/var/lib/chrony:/sbin/nologin
chrony:x:997:994::/var/lib/chrony:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin

Metadata Update from @jhrozek:
- Issue assigned to jhrozek

PR: https://github.com/SSSD/sssd/pull/670

Metadata Update from @jhrozek:
- Issue tagged with: PR

Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1638006

Issue linked to Bugzilla: Bug 1638006

  • master:
  • 7b3794fbe5e4f0888d4faeba12e6c5268f8cca42
  • 1e67da79ac23279752a1361a12afc2766cb3d4ad

Metadata Update from @jhrozek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 2.1

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4842

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata