Samba does not accept my password

66,765

Solution 1

This is how I resolved the issue.

from a terminal box type sudo smbpasswd -a <user name> you'll be asked for a password, use your normal one

then you'll be asked for a new "SMB" password... sync it with the usual one by typing in you password again then confirming it...

Shares were instantly accessible from Win7 using Ubuntu user name and password

Solution 2

What did you use to change your password? Samba does not automatically use your user password, your first have to add your user to samba with smbpasswd -a <user>

*from http://www.cyberciti.biz/faq/adding-a-user-to-a-samba-smb-share/

Share:
66,765

Related videos on Youtube

Luke
Author by

Luke

Updated on September 18, 2022

Comments

  • Luke
    Luke over 1 year

    I have installed Samba onto Ubuntu 12.04 Server but I can't login as it says my password is incorrect but I am the only user so there are no other passwords.

    I have tried changing the password through the terminal but nothing is working.

    Any advice for a newbie is very much appreciated.

  • Luke
    Luke over 11 years
    I opened the terminal and typed smbpasswd -a NAME
  • Luke
    Luke over 11 years
    i then added a password but i cant get it to work
  • Jesse the Wind Wanderer
    Jesse the Wind Wanderer over 8 years
    THANK YOU!! I encountered this same problem on Linux Mint 17.2! Now to figure out how to get anonymous browsing working. ;-)
  • Milad.Nozari
    Milad.Nozari about 8 years
    Solved my problem too. VIrtualBox; Host: OS-X-10.11; Guest: Ubuntu-14.04.
  • Gauthier
    Gauthier over 7 years
    Isn't this the exact answer you got from @ender?, three months later?