LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   hopeful samba user :( (https://www.linuxquestions.org/questions/linux-general-1/hopeful-samba-user-16401/)

chens_83 03-16-2002 07:13 AM

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
:study:

Mara 03-16-2002 08:09 AM

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.

zmedico 03-16-2002 02:43 PM

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.

Mara 03-16-2002 04:48 PM

Well, I think even Windows isn't so *** to let name a machine "localhost". But maybe...

zmedico 03-16-2002 05:31 PM

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

Sixpax 03-18-2002 09:40 AM

Definitely not a good idea to name your machine "localhost".

BTW, you can also use SWAT to configure samba.


All times are GMT -5. The time now is 06:28 AM.