[Freeipa-devel] [PATCH] Do not fire up backend search when the data provider is local

Sumit Bose sbose at redhat.com
Tue May 26 11:33:03 UTC 2009


Jakub Hrozek schrieb:
> This is related to the fact that we special-case native local backend by
> specifying "provider=local" in the config file..the current code would
> ask the data provider resulting in Invalid Domain errors:
> 
> ---
> [sssd[nss]] [nss_cmd_getpwnam] (4): Requesting info for [someuser at LOCAL]
> [sssd[nss]] [nss_dp_send_acct_req] (4): Sending request for
> [LOCAL][1][core][name=someuser]
> [sssd[dp]] [dp_get_account_info] (4): Got request for
> [LOCAL][1][core][name=someuser]
> [sssd[nss]] [nss_dp_get_reply] (4): Got reply (3, 22, Invalid Domain)
> from Data Provider
> [sssd[nss]] [nss_cmd_getpwnam_dp_callback] (2): Unable to get
> information from Data Provider
> Error: 3, 22, Invalid Domain
> Will try to return what we have in cache
> ---
> 
> The attached patch special-cases the check_provider test from "is set"
> to "is set to anything else than local"
> 
> Jakub
> 
Hi,

please remove the changes to pamsrv_cmd.c, because it is planned that
the authentication code for LOCAL will move to a separate backend.

bye,
Sumit




More information about the Freeipa-devel mailing list