LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   connecting to Samba with Windows XP (https://www.linuxquestions.org/questions/linux-networking-3/connecting-to-samba-with-windows-xp-406599/)

Cheechi 01-22-2006 01:32 PM

connecting to Samba with Windows XP
 
I wish to share /home/cheechi/folder to my network. i have configured Samba and SuSEFirewall as well as i can; i use a hardware firewall on my router (a little standalone one, you know the kind) so i have pretty much every service allowed for my SuSE box on the internal network - i like to play with stuff internally before i decide if it's ready for the web. Samba is an allowed service - double checked. windows XP has no firewall running, they're on the same router so there's nothing to come between them. when i try to map /folder as a network drive it looks like this

\\192.168.2.3\cheechi\folder
user
pass

when i try to connect, an error comes up telling me that my password is incorrect. this is the same for the one user on the SuSE box as well as for root. i have a wireless router that is a client of the first, and an iBook that comes up with the same error. all computers are in WORKGROUP. are there any special rules i don't know about when mounting a smb drive? i can share windows folders to my linux box without a problem - the setup for seeing a network share works great in linux.


any help would be greatly appreciated, i hate having to VNC into my linux box to transfer stuff to and from it.

snowtigger 01-22-2006 02:30 PM

Did you setup the users and password for samba.
With linux (and any *nix) you have the file 'passwd' in '/etc' this is where the system stores its user and password info. But there is also a file for samba (can't remember where it is) which is where samba stores it's info on users and passwords. You have already setup the account in the linux file, but by the sounds of things not in the samba file. Go to http://us2.samba.org/samba/ and read the documents there to find out how to do it.

:)

Dmjmusser 01-23-2006 01:38 PM

The default file (on FC4, anyways), for storing Samba passwords is /etc/samba/smbpasswd. This file stores Samba usernames and passwords, and is written to using the smbpasswd command.

The docs provide more specific help regarding what syntax and option to use with that command. Check 'em out and post here if you need more help.

Note also that you'll probably need to add the Samba user to the
valid users = entry for that share. Creating Samba usernames and passwords does not automatically grant a user access to your share(s).

~Myles


All times are GMT -5. The time now is 12:15 AM.