[SSSD] [PATCH] The new memberof plugin

Trond Hasle Amundsen t.h.amundsen at usit.uio.no
Wed Sep 21 20:20:16 UTC 2011


Hi,

In an effort to test the new memberof plugin I came across something
that probably is a bug. I used sssd 1.5.12 and applied the memberof
patch. The patch applied cleanly and compiled fine but 'make check'
failed on the sysdb test:

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sssd_sysdb-tests.txt
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110921/e469ece1/attachment.txt>
-------------- next part --------------

Running the sysdb check through gdb revealed a bit more:

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sssd_sysdb-tests_gdb.txt
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110921/e469ece1/attachment-0001.txt>
-------------- next part --------------

My reason for choosing 1.5.12 was to get it working on RHEL6 with the
least amount of effort. The patch didn't apply to 1.5.1 from RHEL6, so I
used an SRPM from F14 to create RPMs, adding just the memberof patch to
the mix. Building worked (except I had to disable the check part), but
after installing the RPMs sssd did not. While 'getent passwd user'
worked as expected, 'id user' didn't. The command would hang forever.

The provider used is plain OpenLDAP, RFC2307.

I reported issue #883 and I'm happy to test the improved memberof in a
real environment, if needed.

Cheers,
-- 
Trond H. Amundsen <t.h.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo


More information about the sssd-devel mailing list