Cant access samba shares from a windows PC

Asked by Sidarth Dasari

I have a linux pc running samba which is sharing a couple of drives. I can access these drives via my linux laptop, however my windows Pc asks for a username/password.

The username and password of the windows pc is the same as the username/password on my linux server. When I try to connect, i get a pop up asking me to log in. When I type in my user name and password, it just prompts me again.

How do I access these drives from the linux server?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Sidarth Dasari
Solved:
Last query:
Last reply:
Revision history for this message
george_rutkay (yaktur) said :
#1

Let me know when you find the answer - my step-daughter still cannot get past the login of user name and password on the Samba share on my Linux machine as well.

Revision history for this message
Sidarth Dasari (sirsid) said :
#2

@george
make sure the log ins and passwords of both your linux share and pc are the same. This setup worked for me before, but I had to reformat and now it does not.

Revision history for this message
Murali Krishna Marimekala (murali-marimekala) said :
#3

Hi Sidarth Dasari ,George_rutkay,

Its problem with samba server settings. Please use this link to configure your samba (/etc/samba/smb.conf) https://help.ubuntu.com/community/SettingUpSamba. Please take a back of smb.conf before modifying.

--Murali

Revision history for this message
Murali Krishna Marimekala (murali-marimekala) said :
#4

If you find difficult to configure samba, I suggest you to use "SSH Secure Shell Client" which is freely available to download at http://www.colorado.edu/its/docs/authenticate/win_ssh.html. Install in windows and you can access total Linux folders remotely.

Note: You should be running samba server on linux for logging into linux.

--Murali

Revision history for this message
Sidarth Dasari (sirsid) said :
#5

I figured it out,
I forgot to do the smbpasswd command and activate my user.
You need to do smbpasswd -a USERNAME
It has to be a user that is already in your system
It will then prompt for a password for the user. After that just restart samba and it will work.