[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cifs-protocol
Subject:    Re: [cifs-protocol] [Solved] permission denied for cifs mount
From:       Pierre Frenkiel <pierre.frenkiel () gmail ! com>
Date:       2013-12-15 18:31:32
Message-ID: alpine.DEB.2.10.1312151925530.27264 () pfr2 ! frenkiel-hure ! net
[Download RAW message or body]

    hi,
    I found the solution to my problem, and thought it may be interesting
    to post it.

    I got it by looking for all the options
    in the mount.cifs man.  The one which worked was "sec=none", i.e.

       mount -t cifs -o sec=none //wehd/hdd /d6

    I tried the other possible values for sec, and found that

       mount -t cifs -o "guest,sec=ntlm" //wehd/hdd /d6
       mount -t cifs -o "guest,sec=ntlmv2" //wehd/hdd /d6

    also work.

    At last, I discovered that the difference from my 2 other machines
    comes from the kernel versions. My curent kernel version is 3.10-3,
    but if I boot the same machine selecting kernel 3.2, the command

       mount -t cifs -o guest //wehd/hdd /d6

    works.

    That obviously means that they changed the default
    security mode for cifs in the new kernel, although I found nothing
    about that in the kernel changelog.

best regards,
-- 
Pierre Frenkiel
_______________________________________________
cifs-protocol mailing list
cifs-protocol@samba.org
https://lists.samba.org/mailman/listinfo/cifs-protocol
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic