[SSSD] [PATCHES] Support for ghost users

Jan Zelený jzeleny at redhat.com
Wed May 2 13:34:47 UTC 2012


> > Stephen Gallagher <sgallagh at redhat.com> wrote:
> > > On Mon, 2012-04-23 at 16:22 +0200, Jan Zelený wrote:
> > > > Hi,
> > > > I'm sending a patch set that removes support for fake user entries
> > > > and add
> > > 
> > > > ghost attribute instead:
> > > Jan, could you run a few performance tests with large groups so we can
> > > see what we got for improvement?
> > 
> > Sure, no problem. I will also include better commit messages (discussed
> > with Simo on IRC) and also a sysdb upgrade function is missing.
> > 
> > Jan
> 
> Ok, here is the updated patch set. So far I've run only a simple test:
> 
> - IPA server
> - large-group with 3k users
> - flat membership structure
> - log level 10 (not sure how much impact would it have to turn this off)
> - user testuser who is not part of the large-group
> 
> The testing user is queried for establishing connection to the server and
> taking the connection time out of the equation.
> 
> 1. service sssd stop
> 2. rm -f /var/lib/sss/db* /var/log/sssd/*
> 3. git checkout master
> 4. reinstall sssd
> 5. service sssd start
> 6. getent group testuser
> 7. time getent group large-group
> 
> real    0m8.198s
> user    0m0.002s
> sys     0m0.006s
> 
> 8. service sssd stop
> 9. rm -f /var/lib/sss/db* /var/log/sssd/*
> 10. git checkout ghosts
> 11. reinstall sssd
> 12. service sssd start
> 13. getent group testuser
> 14. time getent group large-group
> 
> real    0m4.441s
> user    0m0.005s
> sys     0m0.004s
> 
> If you have any other scenarios, I'll be happy to run them for you but
> please don't ask me to add another 3k users to the LDAP server ;-)
> 
> Thanks
> Jan

I'm sending patch set rebased on the current master.

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-117-2-ghost-members-add-the-ghost-attribute-to-sysdb.patch
Type: text/x-patch
Size: 1070 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-118-2-ghost-members-support-in-ldap-provider.patch
Type: text/x-patch
Size: 31785 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-119-2-ghost-members-support-in-proxy-provider.patch
Type: text/x-patch
Size: 2733 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-120-2-ghost-members-modifications-in-sysdb.patch
Type: text/x-patch
Size: 7025 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-120-2-ghost-members-modifications-in-sysdb.patch
Type: text/x-patch
Size: 7025 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-121-2-ghost-members-modifications-in-memberof-plugin.patch
Type: text/x-patch
Size: 10785 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-122-2-ghost-members-sysdb-upgrade-routine.patch
Type: text/x-patch
Size: 6002 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-123-2-ghost-members-nss-responder-changes.patch
Type: text/x-patch
Size: 10026 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-124-2-ghost-members-removed-sdap_check_aliases.patch
Type: text/x-patch
Size: 7610 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-125-2-ghost-members-modified-sss_groupshow.patch
Type: text/x-patch
Size: 3005 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-126-1-ghost-members-various-small-changes.patch
Type: text/x-patch
Size: 3536 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120502/b12d461f/attachment.sig>


More information about the sssd-devel mailing list