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

Jan Zelený jzeleny at redhat.com
Wed Mar 21 08:13:36 UTC 2012


> 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.

Thanks
Jan
-------------- 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/20120321/6f461311/attachment.sig>


More information about the sssd-devel mailing list