LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-02-2004, 04:19 AM   #1
acrors
Member
 
Registered: Aug 2004
Posts: 72

Rep: Reputation: 15
samba problem


I use rh9. I've configured samba server following http://www.redhat.com/docs/manuals/l...figuring.html.
It works well when i've tested by command line:

smbclient //linux01/Acrors -U sam

But when i've test by samba client, it give me error msg:

Couldn't display "smb:///acrors", because no host "(null)" could be found. Check that the spelling is correct and that your proxy settings are correct.

This error can be removed if i restart pc, but in this case i got a new error msg like that:

Couldn't display "smb:///acrors/linux01", because no host "(null)" could be found. Check that the spelling is correct and that your proxy settings are correct.

The same problem appears when i try to access from other pc.

What's wrong here ?

Help
 
Old 09-03-2004, 03:41 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
The command-line clients are very solid, but graphical clients and network browsing can be more variable. Please could you specify the other 'samba client', and the steps you followed that got the error message. If you post the contents of /etc/samba/smb.conf then we see the exact setup of your server, which may help as well.
 
Old 09-05-2004, 07:35 AM   #3
bijay
LQ Newbie
 
Registered: Jan 2003
Location: Nepal
Distribution: Redhat
Posts: 11

Rep: Reputation: 0
Hi,

use the following

smb:///linux01/acrors
 
Old 09-05-2004, 01:34 PM   #4
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
D'oh - that would be the right answer. Desktops use URIs:

smb://server-name/share

Smbclient uses the older formulation of //server-name/share.
 
Old 09-06-2004, 05:32 AM   #5
acrors
Member
 
Registered: Aug 2004
Posts: 72

Original Poster
Rep: Reputation: 15
It may be a network problem ?

I have the same problem with HTTP, FTP, SMB servers.
That means when i test them localy (in the pc i set them up) they work well.
But when i try to access them from other pc, (even from rh) they always send me the msg like that:

" connection refused .."
Or
" Couldn't display "smb:///acrors/linux01", because no host "(null)" could be found. Check that the spelling is correct and that your proxy settings are correct."

Or simply "can not find the host ..."

So ... any one can help me ....!!!
 
Old 09-06-2004, 05:35 AM   #6
acrors
Member
 
Registered: Aug 2004
Posts: 72

Original Poster
Rep: Reputation: 15
The interesting is that from other pc i can ping this pc, which run these servers.
That means the network is fine .... so where is the problem ????

Help ....
 
Old 09-06-2004, 06:14 AM   #7
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Firewall ?
 
Old 09-06-2004, 10:14 PM   #8
acrors
Member
 
Registered: Aug 2004
Posts: 72

Original Poster
Rep: Reputation: 15
Yes

Yes, i can open for httpd and ftp (from fire wall graphical user interface of rh9) and these services work well. But the samba server still doesn't work.
How and where can i go to reconfig firewall for samba ?

Pls ...show me ...
 
Old 09-07-2004, 10:37 AM   #9
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
The Red Hat interface for configuring Linux firewalling is very minimal. I would recommend disabling it and using another interface on anything except a client-only machine. I use it on my laptop (which has no network services at all). On my server I use shorewall, which a package for managing boxes that act as routers.

If you aren't using the box as a router for the network then a standard graphical interface like Firestarter (GNOME) or Guarddog (KDE) will probably give you as much control as you need, and be comfortable to use.
 
Old 09-08-2004, 03:42 PM   #10
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Rep: Reputation: 32
Try smbmount

#smbmout //windows-machine-name/shar /mnt/window -o username=admin
 
  


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
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
samba problem. bruse Linux - Networking 1 08-13-2005 10:08 AM
Samba Problem tied2 Linux - Newbie 5 06-17-2002 09:41 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:42 PM.

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