[SSSD] [PATCH] Save alias of the service primary name, too

Stephen Gallagher sgallagh at redhat.com
Wed Mar 21 18:51:05 UTC 2012


On Wed, 2012-03-21 at 09:13 +0100, Jan Zelený wrote:
> > After the recent changes to sysdb_attrs_get_aliases() we stopped saving
> > the lowercased alias of the primary name.
> > 
> > Services are a different beast than the rest of the entries, because
> > with everything else the nss responder only uses the alias to match the
> > entry. With services, we also need to print the aliases.
> > 
> > The attached patch changes the behaviour so that all aliases are saved
> > lowercased in an insensitive domain, including the primary name, but
> > when returning the service, the alias that matches the primary name is
> > filtered out. Because all aliases are lowercased now, I also removed the
> > sss_get_cased_name() call, it is no longer needed.
> 
> Ack,
> code checked, only sanity testing performed.


Pushed to master and sssd-1-8.
-------------- 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/20120321/dec4f4e9/attachment.sig>


More information about the sssd-devel mailing list