CIFS vs Windows Server 2012 R2 : error 13

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I tried to mount manually on my Linux shared folders from windows server 2012 R2.



The syntaxe is right but Im stuck on the same issue error 13:



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk,password=myscretpass,vers=2.1
dmesg:
Status code returned 0xc000006d STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
CIFS VFS: cifs_mount failed w/return code = -13


If I tried other vers= options I got the same issue.
If I remove the option vers= then syslog claim :



No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.


If I use option sec= then I specify this option then I got error 126



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk,password=myscretpass,vers=2.1,sec=krb5
mount error(126): Required key not available


Package Keyutils is installed.



If I tried other sec= options I got error 22 or error 13



if I tried to prompt the password:



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk
Password for bob@dude-uk@//ip/division:
mount error(13): Permission denied


Nemo (file explorer in Linux Mint) can mount the shared folders.
MacOsx can mount shared folders.



My kernel is 4.13
Mount.cifs is 6.4
I tried to mount manually before setup my fstab.



Do you have any idea ?







share|improve this question



















  • Read the man page for mount.cifs. In particular for the user (username) parameter. Yours is wrong.
    – roaima
    Apr 20 at 8:04










  • see unix.stackexchange.com/questions/367884/…
    – Rui F Ribeiro
    Apr 20 at 10:30










  • I read that Windows 2012 uses vers=3.0.
    – Gerard H. Pille
    Apr 20 at 11:31














up vote
0
down vote

favorite












I tried to mount manually on my Linux shared folders from windows server 2012 R2.



The syntaxe is right but Im stuck on the same issue error 13:



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk,password=myscretpass,vers=2.1
dmesg:
Status code returned 0xc000006d STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
CIFS VFS: cifs_mount failed w/return code = -13


If I tried other vers= options I got the same issue.
If I remove the option vers= then syslog claim :



No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.


If I use option sec= then I specify this option then I got error 126



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk,password=myscretpass,vers=2.1,sec=krb5
mount error(126): Required key not available


Package Keyutils is installed.



If I tried other sec= options I got error 22 or error 13



if I tried to prompt the password:



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk
Password for bob@dude-uk@//ip/division:
mount error(13): Permission denied


Nemo (file explorer in Linux Mint) can mount the shared folders.
MacOsx can mount shared folders.



My kernel is 4.13
Mount.cifs is 6.4
I tried to mount manually before setup my fstab.



Do you have any idea ?







share|improve this question



















  • Read the man page for mount.cifs. In particular for the user (username) parameter. Yours is wrong.
    – roaima
    Apr 20 at 8:04










  • see unix.stackexchange.com/questions/367884/…
    – Rui F Ribeiro
    Apr 20 at 10:30










  • I read that Windows 2012 uses vers=3.0.
    – Gerard H. Pille
    Apr 20 at 11:31












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I tried to mount manually on my Linux shared folders from windows server 2012 R2.



The syntaxe is right but Im stuck on the same issue error 13:



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk,password=myscretpass,vers=2.1
dmesg:
Status code returned 0xc000006d STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
CIFS VFS: cifs_mount failed w/return code = -13


If I tried other vers= options I got the same issue.
If I remove the option vers= then syslog claim :



No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.


If I use option sec= then I specify this option then I got error 126



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk,password=myscretpass,vers=2.1,sec=krb5
mount error(126): Required key not available


Package Keyutils is installed.



If I tried other sec= options I got error 22 or error 13



if I tried to prompt the password:



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk
Password for bob@dude-uk@//ip/division:
mount error(13): Permission denied


Nemo (file explorer in Linux Mint) can mount the shared folders.
MacOsx can mount shared folders.



My kernel is 4.13
Mount.cifs is 6.4
I tried to mount manually before setup my fstab.



Do you have any idea ?







share|improve this question











I tried to mount manually on my Linux shared folders from windows server 2012 R2.



The syntaxe is right but Im stuck on the same issue error 13:



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk,password=myscretpass,vers=2.1
dmesg:
Status code returned 0xc000006d STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
CIFS VFS: cifs_mount failed w/return code = -13


If I tried other vers= options I got the same issue.
If I remove the option vers= then syslog claim :



No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.


If I use option sec= then I specify this option then I got error 126



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk,password=myscretpass,vers=2.1,sec=krb5
mount error(126): Required key not available


Package Keyutils is installed.



If I tried other sec= options I got error 22 or error 13



if I tried to prompt the password:



#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk
Password for bob@dude-uk@//ip/division:
mount error(13): Permission denied


Nemo (file explorer in Linux Mint) can mount the shared folders.
MacOsx can mount shared folders.



My kernel is 4.13
Mount.cifs is 6.4
I tried to mount manually before setup my fstab.



Do you have any idea ?









share|improve this question










share|improve this question




share|improve this question









asked Apr 20 at 7:56









DragonF0rce

12




12











  • Read the man page for mount.cifs. In particular for the user (username) parameter. Yours is wrong.
    – roaima
    Apr 20 at 8:04










  • see unix.stackexchange.com/questions/367884/…
    – Rui F Ribeiro
    Apr 20 at 10:30










  • I read that Windows 2012 uses vers=3.0.
    – Gerard H. Pille
    Apr 20 at 11:31
















  • Read the man page for mount.cifs. In particular for the user (username) parameter. Yours is wrong.
    – roaima
    Apr 20 at 8:04










  • see unix.stackexchange.com/questions/367884/…
    – Rui F Ribeiro
    Apr 20 at 10:30










  • I read that Windows 2012 uses vers=3.0.
    – Gerard H. Pille
    Apr 20 at 11:31















Read the man page for mount.cifs. In particular for the user (username) parameter. Yours is wrong.
– roaima
Apr 20 at 8:04




Read the man page for mount.cifs. In particular for the user (username) parameter. Yours is wrong.
– roaima
Apr 20 at 8:04












see unix.stackexchange.com/questions/367884/…
– Rui F Ribeiro
Apr 20 at 10:30




see unix.stackexchange.com/questions/367884/…
– Rui F Ribeiro
Apr 20 at 10:30












I read that Windows 2012 uses vers=3.0.
– Gerard H. Pille
Apr 20 at 11:31




I read that Windows 2012 uses vers=3.0.
– Gerard H. Pille
Apr 20 at 11:31










2 Answers
2






active

oldest

votes

















up vote
0
down vote













After read Bugzilla:
bugzilla issue
Kernel 4.13 got an issue to use mount.cifs command properly.
I must boot on 4.12 kernel - I will update my post after that






share|improve this answer




























    up vote
    0
    down vote



    accepted










    I create another user instead of use account administrator and it works !






    share|improve this answer





















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );








       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438884%2fcifs-vs-windows-server-2012-r2-error-13%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      After read Bugzilla:
      bugzilla issue
      Kernel 4.13 got an issue to use mount.cifs command properly.
      I must boot on 4.12 kernel - I will update my post after that






      share|improve this answer

























        up vote
        0
        down vote













        After read Bugzilla:
        bugzilla issue
        Kernel 4.13 got an issue to use mount.cifs command properly.
        I must boot on 4.12 kernel - I will update my post after that






        share|improve this answer























          up vote
          0
          down vote










          up vote
          0
          down vote









          After read Bugzilla:
          bugzilla issue
          Kernel 4.13 got an issue to use mount.cifs command properly.
          I must boot on 4.12 kernel - I will update my post after that






          share|improve this answer













          After read Bugzilla:
          bugzilla issue
          Kernel 4.13 got an issue to use mount.cifs command properly.
          I must boot on 4.12 kernel - I will update my post after that







          share|improve this answer













          share|improve this answer



          share|improve this answer











          answered Apr 20 at 8:48









          DragonF0rce

          12




          12






















              up vote
              0
              down vote



              accepted










              I create another user instead of use account administrator and it works !






              share|improve this answer

























                up vote
                0
                down vote



                accepted










                I create another user instead of use account administrator and it works !






                share|improve this answer























                  up vote
                  0
                  down vote



                  accepted







                  up vote
                  0
                  down vote



                  accepted






                  I create another user instead of use account administrator and it works !






                  share|improve this answer













                  I create another user instead of use account administrator and it works !







                  share|improve this answer













                  share|improve this answer



                  share|improve this answer











                  answered Apr 20 at 14:33









                  DragonF0rce

                  12




                  12






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438884%2fcifs-vs-windows-server-2012-r2-error-13%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Bahrain

                      Postfix configuration issue with fips on centos 7; mailgun relay