Samba authentication fails












1















I have been endlessly searching for what went wrong, and can't figure it out. There is a lot that I still don't understand about working with samba on Ubuntu, so if something looks noobish, I am sorry.



Before I updated my ubuntu server, sharing was acting normal and the teacher account was able to authenticate, when I updated though, it stopped working.



I'm using Ubuntu server:
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily



and samba: Version 4.1.17-Ubuntu



When I try to map a network drive from a windows computer (windows 10 in this case, also used windows 7 with similar results), i get the following log results in /var/logs/samba/log.(ip address of windows) :



check_ntlm_password:  Authentication for user [teacher] -> [teacher] FAILED with error NT_STATUS_NO_SUCH_USER
[2016/01/06 14:00:51.944975, 3] ../source3/auth/auth_util.c:1593(do_map_to_guest_server_info)
No such user teacher [HeritageFileServer] - using guest account


From the windows machine I am logging in as HeritageFileServerteacher, i also tried HERITAGEFILESERVERteacher, and just teacher, in the past, the first one worked just fine.



If I type sudo pdbedit -L -v, which as I understand, is supposed to list my samba users, I get this:



---------------
Unix username: tech
NT username:
Account Flags: [U ]
User SID: S-1-5-21-3838925055-3536237277-778935331-1000
Forcing Primary Group to 'Domain Users' for tech
Primary Group SID: S-1-5-21-3838925055-3536237277-778935331-513
Full Name: Tech
Home Directory: \heritagefileservertech
HomeDir Drive:
Logon Script:
Profile Path: \heritagefileservertechprofile
Domain: HERITAGEFILESERVER
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: never
Kickoff time: never
Password last set: Wed, 06 Jan 2016 13:07:05 MST
Password can change: Wed, 06 Jan 2016 13:07:05 MST
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
---------------
Unix username: teacher
NT username:
Account Flags: [U ]
User SID: S-1-5-21-3838925055-3536237277-778935331-1001
Forcing Primary Group to 'Domain Users' for teacher
Primary Group SID: S-1-5-21-3838925055-3536237277-778935331-513
Full Name:
Home Directory: \heritagefileserverteacher
HomeDir Drive:
Logon Script:
Profile Path: \heritagefileserverteacherprofile
Domain: HERITAGEFILESERVER
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: never
Kickoff time: never
Password last set: Mon, 04 Jan 2016 15:22:14 MST
Password can change: Mon, 04 Jan 2016 15:22:14 MST
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF


Obviously teacher exists, and the password is very simple, so I'm certain i'm not getting it wrong, I even reset the password to make sure by using smbpasswd.



I ended up setting the important folders to allow guest accounts so the teachers could access the drive, meanwhile I'm trying to get the log to show that it successfully authenticated. Here is my smb.conf file (I have share and Share as the original folders that are now open to guests, while Shared is my test folder that I am trying to get to work with authentication):



#======================= Global Settings =======================

[global]

;workgroup = WORKGROUP

server string = %h server (Samba, Ubuntu)

dns proxy = no

#interfaces = eth0

log level = 3

log file = /var/log/samba/log.%m

max log size = 1000

syslog = 0


####### Authentication #######

;server role = standalone server

security = user

guest account = nobody

map to guest = bad user

;usershare allow guests = yes

#======================= Share Definitions =======================

[printers]
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
guest ok = yes
read only = yes
create mask = 0700

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = yes

[share]
comment= Heritage File Server
path = /media/external/ServerBackup
browsable = yes
guest ok = yes
read only = no
create mask = 0755

[Share]
comment= Heritage File Server
path = /media/external/ServerBackup
browsable = yes
guest ok = yes
read only = no
create mask = 0755

[Shared]
comment= Heritage File Server
path = /media/external/ServerBackup
available = yes
valid users = teacher
browsable = yes
guest ok = no
read only = no
writable = yes
create mask = 0755

[web]
comment = Heritage Web Hosting
path = /var/www/html
browsable = yes
guest ok = no
read only = no
create mask = 0755

[homes]
comment = Home Directories
browsable = yes
read only = yes


Anybody know what is wrong?










share|improve this question














bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    1















    I have been endlessly searching for what went wrong, and can't figure it out. There is a lot that I still don't understand about working with samba on Ubuntu, so if something looks noobish, I am sorry.



    Before I updated my ubuntu server, sharing was acting normal and the teacher account was able to authenticate, when I updated though, it stopped working.



    I'm using Ubuntu server:
    Distributor ID: Ubuntu
    Description: Ubuntu 15.10
    Release: 15.10
    Codename: wily



    and samba: Version 4.1.17-Ubuntu



    When I try to map a network drive from a windows computer (windows 10 in this case, also used windows 7 with similar results), i get the following log results in /var/logs/samba/log.(ip address of windows) :



    check_ntlm_password:  Authentication for user [teacher] -> [teacher] FAILED with error NT_STATUS_NO_SUCH_USER
    [2016/01/06 14:00:51.944975, 3] ../source3/auth/auth_util.c:1593(do_map_to_guest_server_info)
    No such user teacher [HeritageFileServer] - using guest account


    From the windows machine I am logging in as HeritageFileServerteacher, i also tried HERITAGEFILESERVERteacher, and just teacher, in the past, the first one worked just fine.



    If I type sudo pdbedit -L -v, which as I understand, is supposed to list my samba users, I get this:



    ---------------
    Unix username: tech
    NT username:
    Account Flags: [U ]
    User SID: S-1-5-21-3838925055-3536237277-778935331-1000
    Forcing Primary Group to 'Domain Users' for tech
    Primary Group SID: S-1-5-21-3838925055-3536237277-778935331-513
    Full Name: Tech
    Home Directory: \heritagefileservertech
    HomeDir Drive:
    Logon Script:
    Profile Path: \heritagefileservertechprofile
    Domain: HERITAGEFILESERVER
    Account desc:
    Workstations:
    Munged dial:
    Logon time: 0
    Logoff time: never
    Kickoff time: never
    Password last set: Wed, 06 Jan 2016 13:07:05 MST
    Password can change: Wed, 06 Jan 2016 13:07:05 MST
    Password must change: never
    Last bad password : 0
    Bad password count : 0
    Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    ---------------
    Unix username: teacher
    NT username:
    Account Flags: [U ]
    User SID: S-1-5-21-3838925055-3536237277-778935331-1001
    Forcing Primary Group to 'Domain Users' for teacher
    Primary Group SID: S-1-5-21-3838925055-3536237277-778935331-513
    Full Name:
    Home Directory: \heritagefileserverteacher
    HomeDir Drive:
    Logon Script:
    Profile Path: \heritagefileserverteacherprofile
    Domain: HERITAGEFILESERVER
    Account desc:
    Workstations:
    Munged dial:
    Logon time: 0
    Logoff time: never
    Kickoff time: never
    Password last set: Mon, 04 Jan 2016 15:22:14 MST
    Password can change: Mon, 04 Jan 2016 15:22:14 MST
    Password must change: never
    Last bad password : 0
    Bad password count : 0
    Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF


    Obviously teacher exists, and the password is very simple, so I'm certain i'm not getting it wrong, I even reset the password to make sure by using smbpasswd.



    I ended up setting the important folders to allow guest accounts so the teachers could access the drive, meanwhile I'm trying to get the log to show that it successfully authenticated. Here is my smb.conf file (I have share and Share as the original folders that are now open to guests, while Shared is my test folder that I am trying to get to work with authentication):



    #======================= Global Settings =======================

    [global]

    ;workgroup = WORKGROUP

    server string = %h server (Samba, Ubuntu)

    dns proxy = no

    #interfaces = eth0

    log level = 3

    log file = /var/log/samba/log.%m

    max log size = 1000

    syslog = 0


    ####### Authentication #######

    ;server role = standalone server

    security = user

    guest account = nobody

    map to guest = bad user

    ;usershare allow guests = yes

    #======================= Share Definitions =======================

    [printers]
    comment = All Printers
    browseable = yes
    path = /var/spool/samba
    printable = yes
    guest ok = yes
    read only = yes
    create mask = 0700

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    browseable = yes
    read only = yes
    guest ok = yes

    [share]
    comment= Heritage File Server
    path = /media/external/ServerBackup
    browsable = yes
    guest ok = yes
    read only = no
    create mask = 0755

    [Share]
    comment= Heritage File Server
    path = /media/external/ServerBackup
    browsable = yes
    guest ok = yes
    read only = no
    create mask = 0755

    [Shared]
    comment= Heritage File Server
    path = /media/external/ServerBackup
    available = yes
    valid users = teacher
    browsable = yes
    guest ok = no
    read only = no
    writable = yes
    create mask = 0755

    [web]
    comment = Heritage Web Hosting
    path = /var/www/html
    browsable = yes
    guest ok = no
    read only = no
    create mask = 0755

    [homes]
    comment = Home Directories
    browsable = yes
    read only = yes


    Anybody know what is wrong?










    share|improve this question














    bumped to the homepage by Community 6 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      I have been endlessly searching for what went wrong, and can't figure it out. There is a lot that I still don't understand about working with samba on Ubuntu, so if something looks noobish, I am sorry.



      Before I updated my ubuntu server, sharing was acting normal and the teacher account was able to authenticate, when I updated though, it stopped working.



      I'm using Ubuntu server:
      Distributor ID: Ubuntu
      Description: Ubuntu 15.10
      Release: 15.10
      Codename: wily



      and samba: Version 4.1.17-Ubuntu



      When I try to map a network drive from a windows computer (windows 10 in this case, also used windows 7 with similar results), i get the following log results in /var/logs/samba/log.(ip address of windows) :



      check_ntlm_password:  Authentication for user [teacher] -> [teacher] FAILED with error NT_STATUS_NO_SUCH_USER
      [2016/01/06 14:00:51.944975, 3] ../source3/auth/auth_util.c:1593(do_map_to_guest_server_info)
      No such user teacher [HeritageFileServer] - using guest account


      From the windows machine I am logging in as HeritageFileServerteacher, i also tried HERITAGEFILESERVERteacher, and just teacher, in the past, the first one worked just fine.



      If I type sudo pdbedit -L -v, which as I understand, is supposed to list my samba users, I get this:



      ---------------
      Unix username: tech
      NT username:
      Account Flags: [U ]
      User SID: S-1-5-21-3838925055-3536237277-778935331-1000
      Forcing Primary Group to 'Domain Users' for tech
      Primary Group SID: S-1-5-21-3838925055-3536237277-778935331-513
      Full Name: Tech
      Home Directory: \heritagefileservertech
      HomeDir Drive:
      Logon Script:
      Profile Path: \heritagefileservertechprofile
      Domain: HERITAGEFILESERVER
      Account desc:
      Workstations:
      Munged dial:
      Logon time: 0
      Logoff time: never
      Kickoff time: never
      Password last set: Wed, 06 Jan 2016 13:07:05 MST
      Password can change: Wed, 06 Jan 2016 13:07:05 MST
      Password must change: never
      Last bad password : 0
      Bad password count : 0
      Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
      ---------------
      Unix username: teacher
      NT username:
      Account Flags: [U ]
      User SID: S-1-5-21-3838925055-3536237277-778935331-1001
      Forcing Primary Group to 'Domain Users' for teacher
      Primary Group SID: S-1-5-21-3838925055-3536237277-778935331-513
      Full Name:
      Home Directory: \heritagefileserverteacher
      HomeDir Drive:
      Logon Script:
      Profile Path: \heritagefileserverteacherprofile
      Domain: HERITAGEFILESERVER
      Account desc:
      Workstations:
      Munged dial:
      Logon time: 0
      Logoff time: never
      Kickoff time: never
      Password last set: Mon, 04 Jan 2016 15:22:14 MST
      Password can change: Mon, 04 Jan 2016 15:22:14 MST
      Password must change: never
      Last bad password : 0
      Bad password count : 0
      Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF


      Obviously teacher exists, and the password is very simple, so I'm certain i'm not getting it wrong, I even reset the password to make sure by using smbpasswd.



      I ended up setting the important folders to allow guest accounts so the teachers could access the drive, meanwhile I'm trying to get the log to show that it successfully authenticated. Here is my smb.conf file (I have share and Share as the original folders that are now open to guests, while Shared is my test folder that I am trying to get to work with authentication):



      #======================= Global Settings =======================

      [global]

      ;workgroup = WORKGROUP

      server string = %h server (Samba, Ubuntu)

      dns proxy = no

      #interfaces = eth0

      log level = 3

      log file = /var/log/samba/log.%m

      max log size = 1000

      syslog = 0


      ####### Authentication #######

      ;server role = standalone server

      security = user

      guest account = nobody

      map to guest = bad user

      ;usershare allow guests = yes

      #======================= Share Definitions =======================

      [printers]
      comment = All Printers
      browseable = yes
      path = /var/spool/samba
      printable = yes
      guest ok = yes
      read only = yes
      create mask = 0700

      [print$]
      comment = Printer Drivers
      path = /var/lib/samba/printers
      browseable = yes
      read only = yes
      guest ok = yes

      [share]
      comment= Heritage File Server
      path = /media/external/ServerBackup
      browsable = yes
      guest ok = yes
      read only = no
      create mask = 0755

      [Share]
      comment= Heritage File Server
      path = /media/external/ServerBackup
      browsable = yes
      guest ok = yes
      read only = no
      create mask = 0755

      [Shared]
      comment= Heritage File Server
      path = /media/external/ServerBackup
      available = yes
      valid users = teacher
      browsable = yes
      guest ok = no
      read only = no
      writable = yes
      create mask = 0755

      [web]
      comment = Heritage Web Hosting
      path = /var/www/html
      browsable = yes
      guest ok = no
      read only = no
      create mask = 0755

      [homes]
      comment = Home Directories
      browsable = yes
      read only = yes


      Anybody know what is wrong?










      share|improve this question














      I have been endlessly searching for what went wrong, and can't figure it out. There is a lot that I still don't understand about working with samba on Ubuntu, so if something looks noobish, I am sorry.



      Before I updated my ubuntu server, sharing was acting normal and the teacher account was able to authenticate, when I updated though, it stopped working.



      I'm using Ubuntu server:
      Distributor ID: Ubuntu
      Description: Ubuntu 15.10
      Release: 15.10
      Codename: wily



      and samba: Version 4.1.17-Ubuntu



      When I try to map a network drive from a windows computer (windows 10 in this case, also used windows 7 with similar results), i get the following log results in /var/logs/samba/log.(ip address of windows) :



      check_ntlm_password:  Authentication for user [teacher] -> [teacher] FAILED with error NT_STATUS_NO_SUCH_USER
      [2016/01/06 14:00:51.944975, 3] ../source3/auth/auth_util.c:1593(do_map_to_guest_server_info)
      No such user teacher [HeritageFileServer] - using guest account


      From the windows machine I am logging in as HeritageFileServerteacher, i also tried HERITAGEFILESERVERteacher, and just teacher, in the past, the first one worked just fine.



      If I type sudo pdbedit -L -v, which as I understand, is supposed to list my samba users, I get this:



      ---------------
      Unix username: tech
      NT username:
      Account Flags: [U ]
      User SID: S-1-5-21-3838925055-3536237277-778935331-1000
      Forcing Primary Group to 'Domain Users' for tech
      Primary Group SID: S-1-5-21-3838925055-3536237277-778935331-513
      Full Name: Tech
      Home Directory: \heritagefileservertech
      HomeDir Drive:
      Logon Script:
      Profile Path: \heritagefileservertechprofile
      Domain: HERITAGEFILESERVER
      Account desc:
      Workstations:
      Munged dial:
      Logon time: 0
      Logoff time: never
      Kickoff time: never
      Password last set: Wed, 06 Jan 2016 13:07:05 MST
      Password can change: Wed, 06 Jan 2016 13:07:05 MST
      Password must change: never
      Last bad password : 0
      Bad password count : 0
      Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
      ---------------
      Unix username: teacher
      NT username:
      Account Flags: [U ]
      User SID: S-1-5-21-3838925055-3536237277-778935331-1001
      Forcing Primary Group to 'Domain Users' for teacher
      Primary Group SID: S-1-5-21-3838925055-3536237277-778935331-513
      Full Name:
      Home Directory: \heritagefileserverteacher
      HomeDir Drive:
      Logon Script:
      Profile Path: \heritagefileserverteacherprofile
      Domain: HERITAGEFILESERVER
      Account desc:
      Workstations:
      Munged dial:
      Logon time: 0
      Logoff time: never
      Kickoff time: never
      Password last set: Mon, 04 Jan 2016 15:22:14 MST
      Password can change: Mon, 04 Jan 2016 15:22:14 MST
      Password must change: never
      Last bad password : 0
      Bad password count : 0
      Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF


      Obviously teacher exists, and the password is very simple, so I'm certain i'm not getting it wrong, I even reset the password to make sure by using smbpasswd.



      I ended up setting the important folders to allow guest accounts so the teachers could access the drive, meanwhile I'm trying to get the log to show that it successfully authenticated. Here is my smb.conf file (I have share and Share as the original folders that are now open to guests, while Shared is my test folder that I am trying to get to work with authentication):



      #======================= Global Settings =======================

      [global]

      ;workgroup = WORKGROUP

      server string = %h server (Samba, Ubuntu)

      dns proxy = no

      #interfaces = eth0

      log level = 3

      log file = /var/log/samba/log.%m

      max log size = 1000

      syslog = 0


      ####### Authentication #######

      ;server role = standalone server

      security = user

      guest account = nobody

      map to guest = bad user

      ;usershare allow guests = yes

      #======================= Share Definitions =======================

      [printers]
      comment = All Printers
      browseable = yes
      path = /var/spool/samba
      printable = yes
      guest ok = yes
      read only = yes
      create mask = 0700

      [print$]
      comment = Printer Drivers
      path = /var/lib/samba/printers
      browseable = yes
      read only = yes
      guest ok = yes

      [share]
      comment= Heritage File Server
      path = /media/external/ServerBackup
      browsable = yes
      guest ok = yes
      read only = no
      create mask = 0755

      [Share]
      comment= Heritage File Server
      path = /media/external/ServerBackup
      browsable = yes
      guest ok = yes
      read only = no
      create mask = 0755

      [Shared]
      comment= Heritage File Server
      path = /media/external/ServerBackup
      available = yes
      valid users = teacher
      browsable = yes
      guest ok = no
      read only = no
      writable = yes
      create mask = 0755

      [web]
      comment = Heritage Web Hosting
      path = /var/www/html
      browsable = yes
      guest ok = no
      read only = no
      create mask = 0755

      [homes]
      comment = Home Directories
      browsable = yes
      read only = yes


      Anybody know what is wrong?







      server permissions samba file-sharing






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 6 '16 at 21:19









      Tyler CoxTyler Cox

      614




      614





      bumped to the homepage by Community 6 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 6 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Open a terminal and try this:



          sudo smbpasswd -a < username>


          Here, < username> is your username. Now, you will be prompted to set and retype new password.



          Then, restart the smb service:



          sudo service smbd restart


          Now, try to open the shared location the usual way. Type the username and the new password you have just set.



          You should be able to log in now.






          share|improve this answer
























          • Wish I could test this. At a new job now so I guess I will never find out.

            – Tyler Cox
            Apr 4 '18 at 14:12











          • Yes, the post is from two years ago. I should have expected that :)

            – Ahsan Tarique
            Apr 7 '18 at 17:35











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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%2faskubuntu.com%2fquestions%2f717840%2fsamba-authentication-fails%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Open a terminal and try this:



          sudo smbpasswd -a < username>


          Here, < username> is your username. Now, you will be prompted to set and retype new password.



          Then, restart the smb service:



          sudo service smbd restart


          Now, try to open the shared location the usual way. Type the username and the new password you have just set.



          You should be able to log in now.






          share|improve this answer
























          • Wish I could test this. At a new job now so I guess I will never find out.

            – Tyler Cox
            Apr 4 '18 at 14:12











          • Yes, the post is from two years ago. I should have expected that :)

            – Ahsan Tarique
            Apr 7 '18 at 17:35
















          0














          Open a terminal and try this:



          sudo smbpasswd -a < username>


          Here, < username> is your username. Now, you will be prompted to set and retype new password.



          Then, restart the smb service:



          sudo service smbd restart


          Now, try to open the shared location the usual way. Type the username and the new password you have just set.



          You should be able to log in now.






          share|improve this answer
























          • Wish I could test this. At a new job now so I guess I will never find out.

            – Tyler Cox
            Apr 4 '18 at 14:12











          • Yes, the post is from two years ago. I should have expected that :)

            – Ahsan Tarique
            Apr 7 '18 at 17:35














          0












          0








          0







          Open a terminal and try this:



          sudo smbpasswd -a < username>


          Here, < username> is your username. Now, you will be prompted to set and retype new password.



          Then, restart the smb service:



          sudo service smbd restart


          Now, try to open the shared location the usual way. Type the username and the new password you have just set.



          You should be able to log in now.






          share|improve this answer













          Open a terminal and try this:



          sudo smbpasswd -a < username>


          Here, < username> is your username. Now, you will be prompted to set and retype new password.



          Then, restart the smb service:



          sudo service smbd restart


          Now, try to open the shared location the usual way. Type the username and the new password you have just set.



          You should be able to log in now.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 1 '18 at 12:18









          Ahsan TariqueAhsan Tarique

          416




          416













          • Wish I could test this. At a new job now so I guess I will never find out.

            – Tyler Cox
            Apr 4 '18 at 14:12











          • Yes, the post is from two years ago. I should have expected that :)

            – Ahsan Tarique
            Apr 7 '18 at 17:35



















          • Wish I could test this. At a new job now so I guess I will never find out.

            – Tyler Cox
            Apr 4 '18 at 14:12











          • Yes, the post is from two years ago. I should have expected that :)

            – Ahsan Tarique
            Apr 7 '18 at 17:35

















          Wish I could test this. At a new job now so I guess I will never find out.

          – Tyler Cox
          Apr 4 '18 at 14:12





          Wish I could test this. At a new job now so I guess I will never find out.

          – Tyler Cox
          Apr 4 '18 at 14:12













          Yes, the post is from two years ago. I should have expected that :)

          – Ahsan Tarique
          Apr 7 '18 at 17:35





          Yes, the post is from two years ago. I should have expected that :)

          – Ahsan Tarique
          Apr 7 '18 at 17:35


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f717840%2fsamba-authentication-fails%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

          香粉寮

          GameSpot