LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-16-2002, 07:13 AM   #1
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Rep: Reputation: 15
hopeful samba user :(


hello everyone.. my network with samba and winxp seemed to be going ok until i tried to access shares from xp..the error message spits at me

\\localhost is not accessible contact admin for permissions bla blah
then
You were not connected because a duplcate name on the system already exists go to system to change name blah blah

ok my question is what files should i look at to fix this duplicate name stuff??? everything else seems to be working ok
 
Old 03-16-2002, 08:09 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It seems it's machine names questions. Look for all machines for duplicate names. But what does it mean //localhost not accesible? I don't know.
 
Old 03-16-2002, 02:43 PM   #3
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
neat

Redhat 7.2 has a nice gui network configuration program located in /usr/bin/neat

Run this program, then click on the "hosts" tab and change the name to something that is more unique than "localhost" You can also set the host name under the DNS tab. I think that one overrides the other but I'm no sure which one at the moment.

here is some more info on network scripts:
http://www.redhat.com/docs/manuals/l...rkscripts.html

here is the tutorial for neat:
http://www.redhat.com/docs/manuals/l...rk-config.html

My next post tells how to back up your network scripts before you make changes and how to restart your services after you make changes.

Last edited by zmedico; 03-16-2002 at 06:38 PM.
 
Old 03-16-2002, 04:48 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Well, I think even Windows isn't so *** to let name a machine "localhost". But maybe...
 
Old 03-16-2002, 05:31 PM   #5
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
restart services

after you change your network settings, you may need to restart the affected services (as root):

/sbin/service network restart
/sbin/service smb restart

Also note that all the nework configuration files are located in /etc/sysconfig You may want to back this up before you mess with it (as root):

cd /etc/sysconfig
tar cvfj ~/syconfig.tar.bz2 .

Then later, you can always restore the backups if your networking stops working

cd /etc/sysconfig
rm -rf *
tar xvfj ~/sysconfig.tar.bz2

Its also a good idea to keep a backup of your entire etc directory. I love having backups!

P.S.
Here's the samba HOWTO
http://www.linuxdoc.org/HOWTO/SMB-HOWTO.html

Last edited by zmedico; 03-30-2002 at 11:10 AM.
 
Old 03-18-2002, 09:40 AM   #6
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
Definitely not a good idea to name your machine "localhost".

BTW, you can also use SWAT to configure samba.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 10:55 AM
add samba user (Samba 3.0.2) geodo Linux - Networking 5 12-02-2004 08:36 AM
Samba User ID? illuminatedwax Linux - Networking 0 09-30-2004 02:27 PM
Map WXP user to Linux user in Samba? Worstje Linux - Software 1 03-26-2004 06:50 PM
Samba: What group/user is used by Samba to access directories? DJ_Cyberdance Linux - Networking 3 10-04-2003 04:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:59 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