linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve French <smfrench@gmail.com>
To: CIFS <linux-cifs@vger.kernel.org>
Cc: Paulo Alcantara <pc@cjr.nz>
Subject: DFS name resolution bug
Date: Fri, 9 Jul 2021 17:46:47 -0500	[thread overview]
Message-ID: <CAH2r5msu6Or-pOXFx23S9d7_3Uu8UoftiJMqL5dBL7Ji=MsxaQ@mail.gmail.com> (raw)

I saw a strange error testing DFS today.

When I connected to the server it gave out the referrals with the
server hostname.  Since the client wasn't configured for DNS, I had
added an entry in /etc/hosts for that hostname with the correct ip
address.

When I ping the hostname it works ... but mount still fails and in
cifs.ko I get "dnfs_resolve_server_name_to_ip: unable to resolve: ..."

It looks like a locally configured (/etc/hosts) address doesn't work
with DFS on Linux client.

Ideas?

-- 
Thanks,

Steve

             reply	other threads:[~2021-07-09 22:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09 22:46 Steve French [this message]
2021-07-09 23:13 ` DFS name resolution bug Steve French

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH2r5msu6Or-pOXFx23S9d7_3Uu8UoftiJMqL5dBL7Ji=MsxaQ@mail.gmail.com' \
    --to=smfrench@gmail.com \
    --cc=linux-cifs@vger.kernel.org \
    --cc=pc@cjr.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).