summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-08-08 21:08:24 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-08-14 13:32:24 +0200
commit329c0416be3b24a5fccddca3f7d6219c4832fd05 (patch)
tree384132e7b3364b037b9a97a1dab39114c1f66af7
parent6f522fe5db9cd0535dba1dfbd3299649e1e677a7 (diff)
downloadsssd-329c0416be3b24a5fccddca3f7d6219c4832fd05.tar.gz
sssd-329c0416be3b24a5fccddca3f7d6219c4832fd05.tar.xz
sssd-329c0416be3b24a5fccddca3f7d6219c4832fd05.zip
NSS: Ignore default_domain for netgroups
https://fedorahosted.org/sssd/ticket/2400 Netgroups often have members that will not process correctly when we require a fully-qualified name. This patch simply ignores the default_domain setting for netgroup lookups - we ignore FQDN only domains for netgroup lookups since 1933ff17513da1d979dd22776a03478341ef5e6b anyway. Reviewed-by: Pavel Březina <pbrezina@redhat.com> (cherry picked from commit e6d441518531e7931e29dd8c65a3448a213e3865)
-rw-r--r--src/responder/nss/nsssrv_netgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv_netgroup.c b/src/responder/nss/nsssrv_netgroup.c
index 566354c03..93794b089 100644
--- a/src/responder/nss/nsssrv_netgroup.c
+++ b/src/responder/nss/nsssrv_netgroup.c
@@ -209,7 +209,7 @@ static struct tevent_req *setnetgrent_send(TALLOC_CTX *mem_ctx,
dctx->cmdctx = state->cmdctx;
ret = sss_parse_name_for_domains(state, client->rctx->domains,
- client->rctx->default_domain, rawname,
+ NULL, rawname,
&domname, &state->netgr_shortname);
if (ret != EOK) {
DEBUG(SSSDBG_OP_FAILURE, "Invalid name received [%s]\n", rawname);