Re: Urgent: Fedora 18 update breaks mount.cifs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/06/2013 01:49 AM, Paul Black wrote:
On 6 March 2013 06:04, Ed Greshko <Ed.Greshko@xxxxxxxxxxx <mailto:Ed.Greshko@xxxxxxxxxxx>> wrote:

    On 03/06/13 13:27, Chuck Forsberg WA7KGX N2469R wrote:
    > After a routine yum update at omen.com <http://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@meimei ~]$ pwd
    /home/egreshko
    [egreshko@meimei ~]$ ls silly
    [egreshko@meimei ~]$ sudo mount -t cifs //silly/Pictures
    /home/egreshko/silly -o
    gid=egreshko,uid=egreshko,password=xxxxxx,username=xxxxxx
    [egreshko@meimei ~]$ ls silly
    2010_12_12  desktop.ini  iPod Photo Cache  Nokia  tiffs  x
    [egreshko@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


The "sec=ntlm" magic chant does the trick.   Flag Day overcome. Thnx.

--
     Chuck Forsberg WA7KGX   caf@xxxxxxxx   www.omen.com
Developer of Industrial ZMODEM(Tm) for Embedded Applications
  Omen Technology Inc      "The High Reliability Software"
10255 NW Old Cornelius Pass Portland OR 97231   503-614-0430

--
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux