[Bug nss/22530] New: FAIL: nss/bug17079 due to _nss_sss_getpwuid_r

hjl.tools at gmail dot com sourceware-bugzilla@sourceware.org
Wed Nov 29 17:50:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=22530

            Bug ID: 22530
           Summary: FAIL: nss/bug17079 due to _nss_sss_getpwuid_r
           Product: glibc
           Version: 2.27
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nss
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

My /etc/nsswitch.conf has

passwd:      sss files systemd
shadow:     files sss
group:       sss files systemd

As the result, __getpwuid_r calls _nss_sss_getpwuid_r in
/lib64/libnss_sss.so.2 from sssd-client-1.16.0-2.fc27.x86_64 on Fedora 27.
_nss_sss_getpwuid_r in sssd-client-1.16.0 is incompatible with glibc 2.27
since it returns 34 which is well outside of


/* Possible results of lookup using a nss_* function.  */
enum nss_status
{
  NSS_STATUS_TRYAGAIN = -2, 
  NSS_STATUS_UNAVAIL,
  NSS_STATUS_NOTFOUND,
  NSS_STATUS_SUCCESS,
  NSS_STATUS_RETURN
};

Change /etc/nsswitch.conf to

passwd:      files sss systemd
shadow:     files sss
group:       files sss systemd

makes the test to pass.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list