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

Jakub Hrozek jhrozek at redhat.com
Mon May 25 12:41:24 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-Do-not-fire-up-backend-search-when-the-data-provider.patch
Type: text/x-patch
Size: 8457 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090525/86939eb8/attachment.bin>


More information about the Freeipa-devel mailing list