[SSSD] [PATCH] sss_cache: support for subdomains

Jakub Hrozek jhrozek at redhat.com
Thu Apr 11 06:45:24 UTC 2013


On Wed, Apr 10, 2013 at 05:55:45PM +0200, Michal Židek wrote:
> New patch attached.
> 
> Thanks
> Michal
> 
> +            use_name = talloc_asprintf(tmp_ctx, "%s@%s", name_lower,
> +                                       domain_lower);
> +            if (use_name == NULL) {
> +                DEBUG(SSSDBG_CRIT_FAILURE, ("Out of memory\n"));
> +                ret = ENOMEM;
> +                goto done;
>              }
>          } else {
> +            use_name = parsed_name;
> +        }

Sorry, one more thing I missed earlier..you can't really hardcode the
format like this, you need to use the fq_fmt from sss_names_ctx.



More information about the sssd-devel mailing list