[SSSD] [PATCH] New option code for krb5 and ipa auth

Simo Sorce ssorce at redhat.com
Tue Oct 20 23:20:51 UTC 2009


On Tue, 2009-10-20 at 14:24 +0200, Sumit Bose wrote:
> +    dummy = dp_opt_get_cstring(opts, KRB5_CHANGEPW_PRINC);
> +    if (strchr(dummy, '@') == NULL) {
> +        value = talloc_asprintf(opts, "%s@%s", dummy, realm);
> +        if (value == NULL) {
> +            DEBUG(7, ("talloc_asprintf failed.\n"));
> +            return ENOMEM;
> +        }

Same here too.
Please always check what you get back.

Simo.




More information about the sssd-devel mailing list