summaryrefslogtreecommitdiffstats
path: root/src/responder/autofs
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-03-28 07:54:26 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-04-24 09:19:42 -0400
commit6fdde3913a11cd6148627696fa8717c34e8460fc (patch)
tree43ef914846cb2c9b2c2854e08d6ece5d3bc17c91 /src/responder/autofs
parentc0f9698cd951b7223f251ff2511c4b22a6e4ba60 (diff)
downloadsssd_unused-6fdde3913a11cd6148627696fa8717c34e8460fc.tar.gz
sssd_unused-6fdde3913a11cd6148627696fa8717c34e8460fc.tar.xz
sssd_unused-6fdde3913a11cd6148627696fa8717c34e8460fc.zip
Modified responder_get_domain()
Now it checks for subdomains as well as for the domain itself
Diffstat (limited to 'src/responder/autofs')
-rw-r--r--src/responder/autofs/autofssrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/autofs/autofssrv_cmd.c b/src/responder/autofs/autofssrv_cmd.c
index 7497a18f..ebf68b84 100644
--- a/src/responder/autofs/autofssrv_cmd.c
+++ b/src/responder/autofs/autofssrv_cmd.c
@@ -386,7 +386,7 @@ setautomntent_send(TALLOC_CTX *mem_ctx,
state->mapname, domname?domname:"<ALL>"));
if (domname) {
- dctx->domain = responder_get_domain(client->rctx->domains, domname);
+ dctx->domain = responder_get_domain(dctx, client->rctx, domname);
if (!dctx->domain) {
goto fail;
}