[SSSD] [PATCH] Hint about removing sysdb if initializing ID map fails

Pavel Reichl preichl at redhat.com
Thu Nov 20 17:47:35 UTC 2014


On 11/20/2014 01:41 PM, Jakub Hrozek wrote:
> --- a/src/providers/ipa/ipa_init.c
> +++ b/src/providers/ipa/ipa_init.c
> @@ -225,7 +225,13 @@ int sssm_ipa_id_init(struct be_ctx *bectx,
>   
>       /* Set up the ID mapping object */
>       ret = ipa_idmap_init(sdap_ctx, sdap_ctx, &sdap_ctx->opts->idmap_ctx);
> -    if (ret != EOK) goto done;
> +    if (ret != EOK) {
> +        DEBUG(SSSDBG_FATAL_FAILURE,
> +              "Could not initialize ID mapping. In case ID mapping properties"
> +              "changed on the server, please remove the SSSD database\n");
I think you are missing a space after properties.
> +        goto done;
> +    }




More information about the sssd-devel mailing list