Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows XP and Red Hat Linux 8.0 peer to peer network

Status
Not open for further replies.

Nightwolf49

Technical User
Mar 15, 2003
3
US
I spent a while trying to find info on the web concerning Samba and networking a windows XP and Linux machine, allowing both machines to acess to eachothers 'shared' folders, but was unable to find much.

I don't expect an explaination, but any links to useful info would be greatly appreciated.

Thanks,
Kirk D.
 
Exactly what troubles are you having. See if anything in this post helps thread865-420374. There are also many other discussions in this forum.
 
Well... I have worked on it a lot in the past week, and I am getting closer, but I am still missing something. It has to be something simple.

I can now see the linux box when I browse the network from the Windows XP machine. When I double click to access it I get a message that says I don't have the correct permissions to access it, and it goes on to say that I can't access it because there is a duplicate name on the server. I'm not sure where exactly it is coming up with that. I changed my XP's computer name several times with no luck.

I was thinking that maybe I am messing up when it comes to the user names and passwords. When I set up my users and passwords I set up just one on the linux box. From the terminal I did the
cat /etc/passwd | mksmbpasswd.sh > /etc/ samba/smbpasswd

then

smbpasswd Captain (which is the only user account I have on my linux box)

It said something about chmod 600 the /etc/samba/smbpasswd file, but I do not know how to do this.

My smb.conf file is very simple. I am not dealing with printer support at this time. There were only a few lines that I was confused about. Under my [Downloads] heading, the line 'path= ....' I was unsure as to how to go about writing that line. In the example it was 'path = /home/windisk/Downloads'. Well, I wasn't sure what this line was doin exactly, but I figured it was used as a shared folder on the linux box. So, I created a folder 'mystuff', at /home/Captain/mystuff and set this line as:

path = /home/Captain/mystuff

Other than that. I disabled simple file sharing on XP, because I read that in a tutorial somewhere.

Does my username and password on my XP machine have to match that on the Linux box?

Maybe this all has to do with my unability to know how to chmod the correct file. I am guessing that this command sets the read/write characterstics of the file.

Sorry it is all segemnted... I hope I can get some help though.

Thanks,
Kirk

P.S. As I said, I can see the Linux box and I am getting data both ways.

UPDATE: Up to this point I thought I was unable to browse files on my windows xp machine from the linux box. Well, I logged in as root in the terminal and typed

smbclinet //windisk/mystuff

I have a shared folder on my c drive calle mystuff. I was able to browse the files.

I was also able to browse my c drive, for it is shared as well.

So at this point, I can access files from the linux box, but not from the windows machine. Although, as I said, my windows machine reconizes the linux box.
 
Also, is there any way to graphically view the files on the XP machine from linux. I have just been browsing through terminal, but unfortunately, I cannot figure out how to copy files from the xp machine to the linux machine.

When I type help when logged into my xp machine from the linux machine, it almost looks as if I am getting the windows command line help, not linux command line help. Suddenly cp is no longer a valid command.

Yes I'm new... I learn quick.. I just need to know the basics.. haha. Thanks guys... your help is greatly appreciated!!

Kirk
 
Hi,

I have set up a Samba server (2.2.3) on a Sun Solaris 8 server. From the PC client, I can connect and access most files on the Unix filesystem. However, "symbolic link" files do not show up? Any idea if there's a parameter I can set so I can see and access soft link files?

Thanks,
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top