Urgent: Fedora 18 update breaks mount.cifs

Paul Black paul.0000.black at gmail.com
Wed Mar 6 09:49:41 UTC 2013


On 6 March 2013 06:04, Ed Greshko <Ed.Greshko at greshko.com> wrote:

> On 03/06/13 13:27, Chuck Forsberg WA7KGX N2469R wrote:
> > After a routine yum update at omen.com,
> > the previously reported mount.cifs breakage has spread from rawhide to
> Fedora 18.
> >
> > It gives:
> > mount error(22): Invalid argument
> > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> >
> > man mount.cifs has not changed at all.
> >
> > Is this botch breakage or an unannounced flag day???
> >
> > The bugzilla reporting tool would not allow me to generate a new report.
> >
>
> Can we assume you are talking about a "clean" F18 system?  Any reason not
> to post in the "users" mailing list?
>
> FWIW.....
>
> [egreshko at meimei ~]$ pwd
> /home/egreshko
> [egreshko at meimei ~]$ ls silly
> [egreshko at meimei ~]$ sudo mount -t cifs //silly/Pictures
> /home/egreshko/silly -o
> gid=egreshko,uid=egreshko,password=xxxxxx,username=xxxxxx
> [egreshko at meimei ~]$ ls silly
> 2010_12_12  desktop.ini  iPod Photo Cache  Nokia  tiffs  x
> [egreshko at meimei ~]$ uname -r
> 3.8.1-201.fc18.x86_64
>
> I see no "breakage".
>

It broke for me. It was coincident with the change from kernel 3.7.9 to
3.8.1 but I didn't investigate if this was the cause.

Adding a "sec=" option with either ntlm or ntlmv2 worked for me. Slightly
odd given that the man page says ntlm is the default.

Digging a little more, a possibly relevant kernel commit from 2012-11-25
has the comment "default authentication needs to be at least ntlmv2
security for cifs mounts":
-#define   CIFSSEC_DEF (CIFSSEC_MAY_SIGN | CIFSSEC_MAY_NTLM |
CIFSSEC_MAY_NTLMV2 | CIFSSEC_MAY_NTLMSSP)
+#define   CIFSSEC_DEF (CIFSSEC_MAY_SIGN | CIFSSEC_MAY_NTLMSSP)

-- 
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/test/attachments/20130306/e5e4369c/attachment.html>


More information about the test mailing list