Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

First of all, I'm a long-time Windows user and thought I should try something new. So be easy on me and pardon in ahead if i don't get all that linux mumble-jumble ;)

So i installed a Ubuntu Server and started to create samba shares. I wanted one share public accessible without password and one share that required password. The password less share is all fine, but the password-protected share is not working as fine. When i try to browse the share from a Windows client i get a login window and enter the username and password. That's all working great, but when i try to access the same shared folder from a Linux client and enter username and password it seems as it's the wrong password. Just keep getting the credentials windows thrown in my face.

Any ideas what could be wrong? Thanks in advance

share|improve this question

this is my first try in helping out a little. oh and I'm no native english speaker sry in advance ;-)

have you added the user you are tyring to connect with to the smbusers file? if not try this. it helped me with exactly the same issue:

Open a terminal and type the following command:

sudo smbpasswd -a username

After that you should be able to use that username and password on the windows pc to connect to the share you created.

share|improve this answer
Hi and thanks for your answer. Since it works from Windows clients but not linux clients i don't think there is something wrong with the samba user and password. – jocke Apr 19 '14 at 4:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.