LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-26-2003, 05:10 AM   #1
Jeffssac
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat 9
Posts: 4

Rep: Reputation: 0
Unhappy Samba sees Windows but not vice versa


I can access all my Windows XP PC's from The RH9 server and I can ping the RH9 Server but cannot connect from my XP machines

I get the following


\\Localhost is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

You were not connected because a duplicate name exists on the network. Go to system in control panel and change the computer name and try again

Is it something to do with my server being seen as localhost?

And If so how do I change the server name

HELP - I'm new to Linux/RH9 9 years of windows experience but very scared by this stuff.
 
Old 06-26-2003, 05:20 AM   #2
Colonel Kurtz
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
well, make sure that you have users for samba, i am also fairly new to linux so i am not for sure.

And try hostname "*computernamehere*" to change the hostname
 
Old 06-26-2003, 05:37 AM   #3
Jeffssac
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat 9
Posts: 4

Original Poster
Rep: Reputation: 0
Hi
Have several users in samba each with passwords and windows usernames have tried several different versions of samba.conf as suggested by RH and others.

Do I need to do something to my XP machines?
 
Old 06-26-2003, 05:45 AM   #4
Colonel Kurtz
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
I assume they are all in the same workgroup/domain?
 
Old 06-26-2003, 06:17 AM   #5
Jeffssac
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat 9
Posts: 4

Original Poster
Rep: Reputation: 0
Yes all are in the same domain.

Now it gets even wierder. I changed the hostname but Gnome etc got confused. So I changed it back to localhost.

Now from Windows I can see the new hostname that I created and the old "localhost" - I can oly connect to the new hostname

But here's the rub - I can now connect to the directory on the server that I created for that windows username but i cannot connect to any of the other directories even though I made them "allow all users to read/write"

I would like to use the new host but how do I stop Gnome etc from getting confused?
 
Old 06-26-2003, 11:00 AM   #6
dav1x
Member
 
Registered: Sep 2002
Posts: 50

Rep: Reputation: 15
Sounds very much like a permissions issue. Remember if you do not have a domain or anything set up the box will be using local credentials by default unless specified otherwise. Instead of hostname just use \\ipaddress. Hostname the command changes the entry in /etc/hosts but not in /etc/sysconfig/network which is where redhat looks by default. I would suggest setting the samba server up to allow guest account access or something of the like if security is not an issue. Do you have swat configured? If so use it to set up anonymous access.

Good luck,
dav1x
 
Old 06-26-2003, 12:05 PM   #7
Jeffssac
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat 9
Posts: 4

Original Poster
Rep: Reputation: 0
I have sorted it. It was an issue of Permission.

First I created a new hotname called homenet

I had created several users and passwords, a shared directory and individual directories per user.

I logged on as root, navigated to Root's Home -pressed UP
clicked on the HOME folder and then right clicked on each USER folder to set permissions by individual and group for the shared folder.


It is all working like a dream and I have managed to synchronise files between my desktops and laptop.

And now I like Linux

Thanks everyone
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh from windows to linux and vice versa pyromania Linux - Networking 6 04-14-2004 03:17 PM
Linux talking to Windows and vice versa tripweed Linux - Networking 4 04-07-2004 08:47 AM
Samba problems with seeing windows98 (and vice versa) snufferz Linux - Networking 5 04-04-2004 04:42 PM
Windows<-->Linux box. Linux sees win, not vice versa NPSHr Linux - Networking 7 10-16-2003 09:41 PM
Share Windows HD with MD & vice-versa lyllo Linux - Hardware 2 02-02-2003 06:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration