Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Samba problem

Samba problem

2007-11-01       - By David Bear

 Back
On Thu, Nov 01, 2007 at 12:14:19PM -0500, Steven Buehler wrote:
> > between your servers.
> >
>
>   I was told that wasn't the issue, but I am thinking it might be.  I
> am assuming that it is with AT&T.  The server that I am "really" wanting
> Samba on for remote access is in my house running on a business class DSL.
> Supposedly AT&T doesn't block any ports and leaves it up to me to adjust my
> firewall.  I have actually turned off my firewall and still can't get to it.
> I have tried telnet to each of the ports from remote locations with no luck.
> I have even tried from several data centers where I have servers.  I tried
> setting up Samba on a couple of those servers in remote data centers and
> trying to go from data center to data center or from here I still can't do
> it.
>

on the box you run samba on try

netstat -tln

to make sure samba is listening on a public interface. If you see
someting like

0.0.0.0:443
0.0.0.0:139

you should be okay (samba is listening on ALL interfaces)

Then, we assume the firewall is turned off.

Still on the machine serving samba try

smbclient -L 10.9.8.7

of course change 10.9.8.8 to the address of your PUBLIC interface.

if it fails to connect still, samba is either not running, not
listening on the public interface, or your firewall is still on.

If it returns with a logon prompt - you are actually talk to samba.
that's what you want.

THEN go to ANOTHER computer in the SAME SUBNET as your samba server
and issue the same command.

This is checking whether a remote system can talk to samba. If you are
in the same subnet, chances are that a router/firewall will not get in
the way.

If this works, you should be good to go.

Now, go to the remote machine (different network, different subnet)
and try to ssh into your samba server.

If ssh works, then try to use the smbclient. If smbclient fails, you
might try tunneling through ssh with something like

ssh -L139:localhost:139 user@(protected)

then issue an smbclient -L 127.0.0.1

If that connects, then you have some firewall between you and your
server that is stopping port 139 traffic.

Remember, samba can listen on both port 139 and 443 (139 is netbios
smb, and 443 is netbios-less smb)


>
> Thanks
> Steve
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

--
David Bear
phone:   602-496-0424
fax:   602-496-0955
College of Public Programs/ASU
University Center Rm 622
411 N Central
Phoenix, AZ 85007-0685
"Beware the IP portfolio, everyone will be suspect of trespassing"

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list