Can't get samba to work!
I'm having a huge problem trying to get samba to work. I want to be able to put my Redhat 7.3 box onto my Windows workgroup. My linux box can see my windows pcs fine, but not the other way around. My linux box appears in Network Neighborhood in windows, but everytime I click on it, I get an error saying The Network Path Was Not Found. If I run smbclient from my linux box, it CAN log in to itself fine. Any ideas where I could get really detailed samba help for a newbie? ;) Also, if anyone here was able to get it to work, can you please post your smb.conf file? Thanx!
cscgal
The Queen of DaniWeb
19,323 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 226
Very cool! I will take a look at these later tonight and with hope and prayer maybe I'll finally be able to get samba working.
Until now I've been confined to the man pages and to linuxnewbie.org - time to broaden my horizons!
cscgal
The Queen of DaniWeb
19,323 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 226
It's 4:40 am and I just got home !!
Whew what a day !!
I was all over today, and haven't had a chance to work on anything on my linux box.
I'll have a looksie tomorrow ... (my eyes are half shut right now).
cscgal
The Queen of DaniWeb
19,323 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 226
I looked over all the sites you sent me to and still no go. My problem is in the "hosts allow" parameter and in the hosts and lmhosts files. Every samba configuration I see shows that I need to specify in these files the IP of localhost (the 192.168.0.x one) and the IPs and NetBIOS names of all the other PCs on the network I want to be able to connect to/from. My problem is that I have a WinXP box directly connected to a cable modem whose IP is 192.168.0.1. This machine uses dhcp to randomly assign an IP to all my other boxes. Take my laptop, for example - it is constantly being moved around from my school's network to my home network - and each time it gets plugged into my hub, it comes back with a different IP!
Do I not need to do anything about these files afterall? Is all this worrying over some stupid lil thing?
If I run "smbclient localhost" from my linux box, I can access my shares! My linux box appears in network neighborhood on my windows machines, but upon clicking it, it says that the computer could not be found on the network or something.
More help please?
cscgal
The Queen of DaniWeb
19,323 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 226
cscgal
The Queen of DaniWeb
19,323 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 226
Eek, sorry it took me so long to respond. Your post seemed to have gotten lost in the forums and I didn't realize you responded ;)
My XP box has Norton firewall is already set up to accept all 192.168.0.* connections - plus telnet works and my linux box is pingable. So the pcs can definitely see each other on the network.
I am thinking the problem has something to do with permissions on the linux box. (smbpasswd i guess?)
cscgal
The Queen of DaniWeb
19,323 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 226
OMG YES !! Samba works perfectly now and I'm a happy camper. I followed the RedHat Samba Configuration page @ redhat.com and then I made sure to enable the smb service manually. Other than that, I don't know what I did right this time that I did wrong all the other times!
cscgal
The Queen of DaniWeb
19,323 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 226
cscgal
The Queen of DaniWeb
19,323 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 226
cscgal
The Queen of DaniWeb
19,323 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 226