Windows 10 Password Error with Samba Share The 2019 Stack Overflow Developer Survey Results...

Can we generate random numbers using irrational numbers like π and e?

What is the closest word meaning "respect for time / mindful"

How technical should a Scrum Master be to effectively remove impediments?

Is this app Icon Browser Safe/Legit?

Button changing it's text & action. Good or terrible?

Who coined the term "madman theory"?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

How come people say “Would of”?

How to notate time signature switching consistently every measure

Time travel alters history but people keep saying nothing's changed

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Where to refill my bottle in India?

Protecting Dualbooting Windows from dangerous code (like rm -rf)

What do hard-Brexiteers want with respect to the Irish border?

Does the shape of a die affect the probability of a number being rolled?

If a Druid sees an animal’s corpse, can they Wild Shape into that animal?

The difference between dialogue marks

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

slides for 30min~1hr skype tenure track application interview

Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?

Reference request: Oldest number theory books with (unsolved) exercises?

Why can Shazam fly?

What did it mean to "align" a radio?

How are circuits which use complex ICs normally simulated?



Windows 10 Password Error with Samba Share



The 2019 Stack Overflow Developer Survey Results Are InUnable to access samba shared folder on Windows 7how to add a SMB (samba) password for a user in Debian, when there is no smbpasswd binary?Samba upgrade from 3.0 to 3.6 broke my ADS authenticationSamba share not accessible from Win 7 - tried advice on superuserCannot Mount Windows 7 Share from Linux using CIFS: Mount error(13): Permission deniedConnecting to Samba shares from a Windows 7 SP1 machineSamba 3.6.6 always creates as guestFor password protected Samba share on home network, ntlm vs ntlmv2 vs krb5 (kerberos)?How to allow guest access in SAMBASamba share for entire HDD with minimum securityCan't connect to Samba file share, user/password null in Samba logs?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







8















I am trying to connect to a samba share with Windows 10 Pro (Version 1511, Build 10586.589) using the command net use L: \myservermyshare /u:myuser mypassword. I get the error:



System error 86 - The specified network password is not correct.


I get the same result when using the Map network drive dialog.
Other clients (Android, Linux) can connect just fine with the same user/password.



I have tried adjusting the following security policies via secpol.msc:




  • Microsoft network client: Send unencrypted password to third-party
    SMB servers (enabled and disabled)

  • Netword security: LAN Manager authentication level (Send LM & NTLM responses, Send LM & NTLM - use NTLMv2 session security if negotiated

  • Network security: Minimum session security for NTLM SSP based
    clients/servers (128-bit encryption and none)


I am running samba 4.5.0-2 on Arch Linux (4.7.4-1). Server-side, I have reset the user password, removed and re-added the user to the smbpasswd backend, and started and restarted the smbservice.



My smbconf is basically the default:



 [global]
workgroup = MYGROUP
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %nn *ReType*new*UNIX*password* %nn *passwd:*all*authentication*tokens*updated*successfully*
dns proxy = no
[my share]
comment = my share
browseable = yes
writable = yes
guest ok = no
path = /pathto/myshare
public = no
valid users = myuser
create mask = 770


I don't see anything out of the ordinary in testparm, and I have confirmed via pdbedit that my user is definitely registered with the backend.



It has worked fine before today and I do not know why it suddenly stopped working. Any advice is greatly appreciated.










share|improve this question





























    8















    I am trying to connect to a samba share with Windows 10 Pro (Version 1511, Build 10586.589) using the command net use L: \myservermyshare /u:myuser mypassword. I get the error:



    System error 86 - The specified network password is not correct.


    I get the same result when using the Map network drive dialog.
    Other clients (Android, Linux) can connect just fine with the same user/password.



    I have tried adjusting the following security policies via secpol.msc:




    • Microsoft network client: Send unencrypted password to third-party
      SMB servers (enabled and disabled)

    • Netword security: LAN Manager authentication level (Send LM & NTLM responses, Send LM & NTLM - use NTLMv2 session security if negotiated

    • Network security: Minimum session security for NTLM SSP based
      clients/servers (128-bit encryption and none)


    I am running samba 4.5.0-2 on Arch Linux (4.7.4-1). Server-side, I have reset the user password, removed and re-added the user to the smbpasswd backend, and started and restarted the smbservice.



    My smbconf is basically the default:



     [global]
    workgroup = MYGROUP
    server string = Samba Server
    log file = /var/log/samba/%m.log
    max log size = 50
    security = user
    encrypt passwords = yes
    smb passwd file = /etc/samba/smbpasswd
    unix password sync = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *New*UNIX*password* %nn *ReType*new*UNIX*password* %nn *passwd:*all*authentication*tokens*updated*successfully*
    dns proxy = no
    [my share]
    comment = my share
    browseable = yes
    writable = yes
    guest ok = no
    path = /pathto/myshare
    public = no
    valid users = myuser
    create mask = 770


    I don't see anything out of the ordinary in testparm, and I have confirmed via pdbedit that my user is definitely registered with the backend.



    It has worked fine before today and I do not know why it suddenly stopped working. Any advice is greatly appreciated.










    share|improve this question

























      8












      8








      8


      10






      I am trying to connect to a samba share with Windows 10 Pro (Version 1511, Build 10586.589) using the command net use L: \myservermyshare /u:myuser mypassword. I get the error:



      System error 86 - The specified network password is not correct.


      I get the same result when using the Map network drive dialog.
      Other clients (Android, Linux) can connect just fine with the same user/password.



      I have tried adjusting the following security policies via secpol.msc:




      • Microsoft network client: Send unencrypted password to third-party
        SMB servers (enabled and disabled)

      • Netword security: LAN Manager authentication level (Send LM & NTLM responses, Send LM & NTLM - use NTLMv2 session security if negotiated

      • Network security: Minimum session security for NTLM SSP based
        clients/servers (128-bit encryption and none)


      I am running samba 4.5.0-2 on Arch Linux (4.7.4-1). Server-side, I have reset the user password, removed and re-added the user to the smbpasswd backend, and started and restarted the smbservice.



      My smbconf is basically the default:



       [global]
      workgroup = MYGROUP
      server string = Samba Server
      log file = /var/log/samba/%m.log
      max log size = 50
      security = user
      encrypt passwords = yes
      smb passwd file = /etc/samba/smbpasswd
      unix password sync = Yes
      passwd program = /usr/bin/passwd %u
      passwd chat = *New*UNIX*password* %nn *ReType*new*UNIX*password* %nn *passwd:*all*authentication*tokens*updated*successfully*
      dns proxy = no
      [my share]
      comment = my share
      browseable = yes
      writable = yes
      guest ok = no
      path = /pathto/myshare
      public = no
      valid users = myuser
      create mask = 770


      I don't see anything out of the ordinary in testparm, and I have confirmed via pdbedit that my user is definitely registered with the backend.



      It has worked fine before today and I do not know why it suddenly stopped working. Any advice is greatly appreciated.










      share|improve this question














      I am trying to connect to a samba share with Windows 10 Pro (Version 1511, Build 10586.589) using the command net use L: \myservermyshare /u:myuser mypassword. I get the error:



      System error 86 - The specified network password is not correct.


      I get the same result when using the Map network drive dialog.
      Other clients (Android, Linux) can connect just fine with the same user/password.



      I have tried adjusting the following security policies via secpol.msc:




      • Microsoft network client: Send unencrypted password to third-party
        SMB servers (enabled and disabled)

      • Netword security: LAN Manager authentication level (Send LM & NTLM responses, Send LM & NTLM - use NTLMv2 session security if negotiated

      • Network security: Minimum session security for NTLM SSP based
        clients/servers (128-bit encryption and none)


      I am running samba 4.5.0-2 on Arch Linux (4.7.4-1). Server-side, I have reset the user password, removed and re-added the user to the smbpasswd backend, and started and restarted the smbservice.



      My smbconf is basically the default:



       [global]
      workgroup = MYGROUP
      server string = Samba Server
      log file = /var/log/samba/%m.log
      max log size = 50
      security = user
      encrypt passwords = yes
      smb passwd file = /etc/samba/smbpasswd
      unix password sync = Yes
      passwd program = /usr/bin/passwd %u
      passwd chat = *New*UNIX*password* %nn *ReType*new*UNIX*password* %nn *passwd:*all*authentication*tokens*updated*successfully*
      dns proxy = no
      [my share]
      comment = my share
      browseable = yes
      writable = yes
      guest ok = no
      path = /pathto/myshare
      public = no
      valid users = myuser
      create mask = 770


      I don't see anything out of the ordinary in testparm, and I have confirmed via pdbedit that my user is definitely registered with the backend.



      It has worked fine before today and I do not know why it suddenly stopped working. Any advice is greatly appreciated.







      linux networking windows-10 encryption samba






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 17 '16 at 18:20









      romsroms

      2401211




      2401211






















          4 Answers
          4






          active

          oldest

          votes


















          10














          if anyone else runs into this problem, my solution was to adjust the security policies on the Windows client.



          Run > Secpol.msc



          then I set Local Policies > Security Options > Network Security: LAN Manager authentication level to 'Send NTLMv2 response only. Refuse LM & NTLM'



          and the client connects just like before.






          share|improve this answer



















          • 7





            This solved it for me, but I didn't feel happy with it, as it requires a change on all my machines. Instead adding the line ntlm auth = yes to my smb.conf did the trick as well.

            – Arsenal
            Jun 19 '17 at 19:57



















          4














          You can also fix this on the server (Ubuntu 18.04.1 LTS) side:
          In /etc/samba/smb.conf, put:



          ntlm auth = true


          And it works like a charm.






          share|improve this answer































            2














            The accepted answer is correct, and works for Windows 10 Professional and above. However, Windows 10 Home Premium lacks secpol.msc and its easy-to-use interface.



            To fix this on Windows 10 Home Premium, navigate to the following key in the registry:



            HKLMSYSTEMCurrentControlSetControlLsa


            Look for a DWORD value named LmCompatibilityLevel. If it does not exist, create it. Set the value to 5.



            After making this change, I was immediately able to access the Samba server without restarting.



            Source: Changing LAN Manager Authentication on Windows NT






            share|improve this answer































              0














              And when you get tired of fighting with Windows and Samba, go here:



              https://github.com/billziss-gh/sshfs-win



              It's file sharing over SSH. No need for Samba or trying to get Windows to play nice.






              share|improve this answer
























              • A software suggestion is not a valid answer to a configuration/troubleshooting question.

                – timelmer
                Jul 5 '18 at 5:47






              • 1





                For some people, this solution is good enough! Why downvote it just for semantic reasons?

                – Blisterpeanuts
                Jan 27 at 2:39












              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              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',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1125438%2fwindows-10-password-error-with-samba-share%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              4 Answers
              4






              active

              oldest

              votes








              4 Answers
              4






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              10














              if anyone else runs into this problem, my solution was to adjust the security policies on the Windows client.



              Run > Secpol.msc



              then I set Local Policies > Security Options > Network Security: LAN Manager authentication level to 'Send NTLMv2 response only. Refuse LM & NTLM'



              and the client connects just like before.






              share|improve this answer



















              • 7





                This solved it for me, but I didn't feel happy with it, as it requires a change on all my machines. Instead adding the line ntlm auth = yes to my smb.conf did the trick as well.

                – Arsenal
                Jun 19 '17 at 19:57
















              10














              if anyone else runs into this problem, my solution was to adjust the security policies on the Windows client.



              Run > Secpol.msc



              then I set Local Policies > Security Options > Network Security: LAN Manager authentication level to 'Send NTLMv2 response only. Refuse LM & NTLM'



              and the client connects just like before.






              share|improve this answer



















              • 7





                This solved it for me, but I didn't feel happy with it, as it requires a change on all my machines. Instead adding the line ntlm auth = yes to my smb.conf did the trick as well.

                – Arsenal
                Jun 19 '17 at 19:57














              10












              10








              10







              if anyone else runs into this problem, my solution was to adjust the security policies on the Windows client.



              Run > Secpol.msc



              then I set Local Policies > Security Options > Network Security: LAN Manager authentication level to 'Send NTLMv2 response only. Refuse LM & NTLM'



              and the client connects just like before.






              share|improve this answer













              if anyone else runs into this problem, my solution was to adjust the security policies on the Windows client.



              Run > Secpol.msc



              then I set Local Policies > Security Options > Network Security: LAN Manager authentication level to 'Send NTLMv2 response only. Refuse LM & NTLM'



              and the client connects just like before.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Sep 29 '16 at 1:37









              romsroms

              2401211




              2401211








              • 7





                This solved it for me, but I didn't feel happy with it, as it requires a change on all my machines. Instead adding the line ntlm auth = yes to my smb.conf did the trick as well.

                – Arsenal
                Jun 19 '17 at 19:57














              • 7





                This solved it for me, but I didn't feel happy with it, as it requires a change on all my machines. Instead adding the line ntlm auth = yes to my smb.conf did the trick as well.

                – Arsenal
                Jun 19 '17 at 19:57








              7




              7





              This solved it for me, but I didn't feel happy with it, as it requires a change on all my machines. Instead adding the line ntlm auth = yes to my smb.conf did the trick as well.

              – Arsenal
              Jun 19 '17 at 19:57





              This solved it for me, but I didn't feel happy with it, as it requires a change on all my machines. Instead adding the line ntlm auth = yes to my smb.conf did the trick as well.

              – Arsenal
              Jun 19 '17 at 19:57













              4














              You can also fix this on the server (Ubuntu 18.04.1 LTS) side:
              In /etc/samba/smb.conf, put:



              ntlm auth = true


              And it works like a charm.






              share|improve this answer




























                4














                You can also fix this on the server (Ubuntu 18.04.1 LTS) side:
                In /etc/samba/smb.conf, put:



                ntlm auth = true


                And it works like a charm.






                share|improve this answer


























                  4












                  4








                  4







                  You can also fix this on the server (Ubuntu 18.04.1 LTS) side:
                  In /etc/samba/smb.conf, put:



                  ntlm auth = true


                  And it works like a charm.






                  share|improve this answer













                  You can also fix this on the server (Ubuntu 18.04.1 LTS) side:
                  In /etc/samba/smb.conf, put:



                  ntlm auth = true


                  And it works like a charm.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 16 '18 at 8:47









                  NielsNiels

                  514




                  514























                      2














                      The accepted answer is correct, and works for Windows 10 Professional and above. However, Windows 10 Home Premium lacks secpol.msc and its easy-to-use interface.



                      To fix this on Windows 10 Home Premium, navigate to the following key in the registry:



                      HKLMSYSTEMCurrentControlSetControlLsa


                      Look for a DWORD value named LmCompatibilityLevel. If it does not exist, create it. Set the value to 5.



                      After making this change, I was immediately able to access the Samba server without restarting.



                      Source: Changing LAN Manager Authentication on Windows NT






                      share|improve this answer




























                        2














                        The accepted answer is correct, and works for Windows 10 Professional and above. However, Windows 10 Home Premium lacks secpol.msc and its easy-to-use interface.



                        To fix this on Windows 10 Home Premium, navigate to the following key in the registry:



                        HKLMSYSTEMCurrentControlSetControlLsa


                        Look for a DWORD value named LmCompatibilityLevel. If it does not exist, create it. Set the value to 5.



                        After making this change, I was immediately able to access the Samba server without restarting.



                        Source: Changing LAN Manager Authentication on Windows NT






                        share|improve this answer


























                          2












                          2








                          2







                          The accepted answer is correct, and works for Windows 10 Professional and above. However, Windows 10 Home Premium lacks secpol.msc and its easy-to-use interface.



                          To fix this on Windows 10 Home Premium, navigate to the following key in the registry:



                          HKLMSYSTEMCurrentControlSetControlLsa


                          Look for a DWORD value named LmCompatibilityLevel. If it does not exist, create it. Set the value to 5.



                          After making this change, I was immediately able to access the Samba server without restarting.



                          Source: Changing LAN Manager Authentication on Windows NT






                          share|improve this answer













                          The accepted answer is correct, and works for Windows 10 Professional and above. However, Windows 10 Home Premium lacks secpol.msc and its easy-to-use interface.



                          To fix this on Windows 10 Home Premium, navigate to the following key in the registry:



                          HKLMSYSTEMCurrentControlSetControlLsa


                          Look for a DWORD value named LmCompatibilityLevel. If it does not exist, create it. Set the value to 5.



                          After making this change, I was immediately able to access the Samba server without restarting.



                          Source: Changing LAN Manager Authentication on Windows NT







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Feb 14 '17 at 22:34







                          user76225






























                              0














                              And when you get tired of fighting with Windows and Samba, go here:



                              https://github.com/billziss-gh/sshfs-win



                              It's file sharing over SSH. No need for Samba or trying to get Windows to play nice.






                              share|improve this answer
























                              • A software suggestion is not a valid answer to a configuration/troubleshooting question.

                                – timelmer
                                Jul 5 '18 at 5:47






                              • 1





                                For some people, this solution is good enough! Why downvote it just for semantic reasons?

                                – Blisterpeanuts
                                Jan 27 at 2:39
















                              0














                              And when you get tired of fighting with Windows and Samba, go here:



                              https://github.com/billziss-gh/sshfs-win



                              It's file sharing over SSH. No need for Samba or trying to get Windows to play nice.






                              share|improve this answer
























                              • A software suggestion is not a valid answer to a configuration/troubleshooting question.

                                – timelmer
                                Jul 5 '18 at 5:47






                              • 1





                                For some people, this solution is good enough! Why downvote it just for semantic reasons?

                                – Blisterpeanuts
                                Jan 27 at 2:39














                              0












                              0








                              0







                              And when you get tired of fighting with Windows and Samba, go here:



                              https://github.com/billziss-gh/sshfs-win



                              It's file sharing over SSH. No need for Samba or trying to get Windows to play nice.






                              share|improve this answer













                              And when you get tired of fighting with Windows and Samba, go here:



                              https://github.com/billziss-gh/sshfs-win



                              It's file sharing over SSH. No need for Samba or trying to get Windows to play nice.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Feb 22 '18 at 15:50









                              mcmacersonmcmacerson

                              1252




                              1252













                              • A software suggestion is not a valid answer to a configuration/troubleshooting question.

                                – timelmer
                                Jul 5 '18 at 5:47






                              • 1





                                For some people, this solution is good enough! Why downvote it just for semantic reasons?

                                – Blisterpeanuts
                                Jan 27 at 2:39



















                              • A software suggestion is not a valid answer to a configuration/troubleshooting question.

                                – timelmer
                                Jul 5 '18 at 5:47






                              • 1





                                For some people, this solution is good enough! Why downvote it just for semantic reasons?

                                – Blisterpeanuts
                                Jan 27 at 2:39

















                              A software suggestion is not a valid answer to a configuration/troubleshooting question.

                              – timelmer
                              Jul 5 '18 at 5:47





                              A software suggestion is not a valid answer to a configuration/troubleshooting question.

                              – timelmer
                              Jul 5 '18 at 5:47




                              1




                              1





                              For some people, this solution is good enough! Why downvote it just for semantic reasons?

                              – Blisterpeanuts
                              Jan 27 at 2:39





                              For some people, this solution is good enough! Why downvote it just for semantic reasons?

                              – Blisterpeanuts
                              Jan 27 at 2:39


















                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1125438%2fwindows-10-password-error-with-samba-share%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

                              Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                              VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...