LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   samba problem (https://www.linuxquestions.org/questions/red-hat-31/samba-problem-225600/)

acrors 09-02-2004 04:19 AM

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

hob 09-03-2004 03:41 PM

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.

bijay 09-05-2004 07:35 AM

Hi,

use the following

smb:///linux01/acrors

hob 09-05-2004 01:34 PM

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

smb://server-name/share

Smbclient uses the older formulation of //server-name/share.

acrors 09-06-2004 05:32 AM

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 ....!!!

acrors 09-06-2004 05:35 AM

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 ....

hob 09-06-2004 06:14 AM

Firewall ?

acrors 09-06-2004 10:14 PM

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 ...

hob 09-07-2004 10:37 AM

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.

LinuxLover 09-08-2004 03:42 PM

Try smbmount

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


All times are GMT -5. The time now is 03:41 PM.