[SSSD] [PATCHES] Support for ghost users

Stephen Gallagher sgallagh at redhat.com
Wed May 30 15:14:17 UTC 2012


On Thu, 2012-05-24 at 07:29 -0400, Stephen Gallagher wrote:
> On Thu, 2012-05-24 at 08:19 +0200, Jan Zelený wrote:
> > > On Wed, 2012-05-23 at 12:03 +0200, Jan Zelený wrote:
> > > > > On Thu, May 10, 2012 at 10:57:23PM +0200, Jan Zeleny wrote:
> > > The sysdb upgrade script will segfault if any users in the database are
> > > lacking memberOf links. This can happen if a user was requested via
> > > getpwnam() or getpwuid() without an initgroups() call.
> > > 
> > > The attach patch should be squashed into patch 122.
> > 
> > Nice catch, thank you
> > 
> > > Additionally, I was trying to do some real-world comparisons but I
> > > wasn't seeing any improvement (this was against an RFC 2307 server, not
> > > RFC2307bis or FreeIPA, so that may be relevant).
> > > 
> > > Can you verify whether we expect to see improvement on such systems, or
> > > only for RFC2307bis?
> > 
> > I don't know why we shouldn't expect any improvements for RFC2307. Can you 
> > post me the scenario you tested?
> 
> 
> Replied privately with confidential data.

Ok, we sorted out that the lack of performance improvement was due to
high latency to the LDAP server and not actually the ghost changes. When
I moved to a local LDAP server, performance has actually improved by
approximately 300%.

So, with squashing in my patch for the upgrades, I call this an ack.

Attaching all the patches (with the upgrade patch squashed in) to make
pushing easier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Ghost-members-add-the-ghost-attribute-to-sysdb.patch
Type: text/x-patch
Size: 1086 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120530/de5bc25f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Ghost-members-support-in-LDAP-provider.patch
Type: text/x-patch
Size: 34469 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120530/de5bc25f/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Ghost-members-support-in-proxy-provider.patch
Type: text/x-patch
Size: 2796 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120530/de5bc25f/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Ghost-members-modifications-in-sysdb.patch
Type: text/x-patch
Size: 11061 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120530/de5bc25f/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Ghost-members-modifications-in-memberof-plugin.patch
Type: text/x-patch
Size: 5041 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120530/de5bc25f/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Ghost-members-sysdb-upgrade-routine.patch
Type: text/x-patch
Size: 7553 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120530/de5bc25f/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Ghost-members-NSS-responder-changes.patch
Type: text/x-patch
Size: 10751 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120530/de5bc25f/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Ghost-members-removed-sdap_check_aliases.patch
Type: text/x-patch
Size: 7792 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120530/de5bc25f/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-Ghost-members-modified-sss_groupshow.patch
Type: text/x-patch
Size: 3094 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120530/de5bc25f/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-Ghost-members-various-small-changes.patch
Type: text/x-patch
Size: 2478 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120530/de5bc25f/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120530/de5bc25f/attachment.sig>


More information about the sssd-devel mailing list