Accessing a samba share ?

Associate
Joined
20 Sep 2003
Posts
2,382
Location
Scotland
I have just installed ubuntu and installed samba etc. I can see the ubuntu box from windows xp pro but when i try to access it i get prompted for a user/pass. I have tried setting up a new user within ubuntu but i still cant access it. Any ideas ?


Thanks
 
Hi

with a linux user thats already been created do the following:-

sudo passwd -a name of linux user
enter a password as / when prompted

restart samba:-

sudo /etc/init.d/samba restart

or it could be

sudo /etc/init.d/smb restart

you should then be able to log into the homes share on the linux box from xp.

Cheers
Deano
 
Do you not need to create a samba password for the user using the following command ? :

sudo smbpasswd -a <username>

enter and confirm password. In my experience samba stores a seperate password list in /etc/samba/smbpasswd for samba users' passwords.
 
MarkB2k1 said:
Do you not need to create a samba password for the user using the following command ? :

sudo smbpasswd -a <username>

enter and confirm password. In my experience samba stores a seperate password list in /etc/samba/smbpasswd for samba users' passwords.

Yes, you do - and for that to work, there has to be a valid Linux user account of the same name.
 
Back
Top Bottom