[SSSD] [PATCH] Use keytab to select etypes for krb5_get_init_creds_keytab()

Stef Walter stefw at gnome.org
Mon May 7 12:37:00 UTC 2012


On 05/07/2012 02:12 PM, Jakub Hrozek wrote:
> I only have two comments related to code style:
> 
> +    TALLOC_CTX *memctx;
> +    int n_etype_list;
> +
> +    memctx = talloc_new (NULL);
> 
> We usually call such memory context tmp_ctx so that it's clear it's a
> short-lived context used only inside this function.
> 
> +        krb5_get_init_creds_opt_set_etype_list (&options, etype_list,
>                                                ^^^
> We don't use a space between a function name and the arguments list.

Thanks. Fixed. Attached.

Stef

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Limit-krb5_get_init_creds_keytab-to-etypes-in-keytab.patch
Type: text/x-patch
Size: 8702 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120507/ef40c753/attachment.bin>


More information about the sssd-devel mailing list