From: Ian Kent <raven@themaw.net>
To: Mark Fox <mfox@customdatacentre.com>, autofs@vger.kernel.org
Subject: Re: Changes to special character escaping?
Date: Mon, 10 Apr 2017 15:49:38 +0800 [thread overview]
Message-ID: <1491810578.4382.1.camel@themaw.net> (raw)
In-Reply-To: <CAFVxx_NaVK6J=tvfCa7AUQDaGLPE0ipZjpcqc1N55N4KrY5kKA@mail.gmail.com>
On Fri, 2017-04-07 at 16:56 -0600, Mark Fox wrote:
> Has something changed regarding escaping of special characters? The
> methods used to deal with special characters in maps that are included
> in distributions (ie. Ubuntu 16.04.2, so automount 5.1.1) no longer
> seem to work.
There was at least one change related to escaping, didn't expect it to break
this though.
TBH, the escaping is difficult and this is probably an example of fixing one
thing and breaking another.
>
> Without special characters, autofs works wonderfully on all sorts of
> CIFS shares. However, with a CIFS administrative share (C$), or a
> share with an ampersand, I've had no luck. The shares work fine
> through smbclient or when mounted by hand, but I haven't stumbled onto
> how to get it working under autofs.
>
> My problem setup is simple:
>
> --- /etc/auto.master ---
> +auto.master
> /cifs /etc/auto.cifs --timeout=300 --ghost
> ------
>
> --- /etc/auto.cifs ---
> CDC1 -fstype=cifs,rw,noperm,credentials=/etc/creds/CDC1 \
> "/C$" "://CDC1/C\$"
> ------
>
> It doesn't work as configured above. The output from 'automount -f -v' is:
Can you get a full debug log of this please.
Use the -d instead of the -v.
>
> ------
> attempting to mount entry /cifs/CDC1/C$
> > > Retrying with upper case share name
> > > mount error(6): No such device or address
> > > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>
> mount(generic): failed to mount //CDC1/C\$ (type cifs) on
> /cifs/CDC1/C$
> failed to mount /cifs/CDC1/C$
That "/cifs/CDC1/C$" looks ok and the log entry says it's trying to mount
"//CDC1/C\$" which might have become the problem.
Ian
--
To unsubscribe from this list: send the line "unsubscribe autofs" in
next prev parent reply other threads:[~2017-04-10 7:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-07 22:56 Changes to special character escaping? Mark Fox
2017-04-10 7:49 ` Ian Kent [this message]
2017-04-10 8:07 ` Ian Kent
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=1491810578.4382.1.camel@themaw.net \
--to=raven@themaw.net \
--cc=autofs@vger.kernel.org \
--cc=mfox@customdatacentre.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.