LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-29-2004, 12:21 PM   #1
Xaque208
LQ Newbie
 
Registered: Oct 2004
Location: United States
Distribution: Debian
Posts: 29

Rep: Reputation: 15
Samba Firewall


Hello,
I have set up NFS and it is workking correctly! Now I am trying to get samba to work on my Debian system. When I log into the loal machine using smbclient I get...

nomad:/etc/samba# smbclient //nomad/bigshare -U admin
added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
Password:
Domain=[GUK] OS=[Unix] Server=[Samba 2.2.3a-14.1 for Debian]
smb: \>


Cool. Now when I try to log in from a remote Fedora Box I get...

[admin@localhost ~]$ smbclient //nomad/bigshare
session request to NOMAD failed (Not listening for calling name)
session request to *SMBSERVER failed (Not listening for calling name)

It seems to me to be a firewall issue. What command should I use on the Debian Machine to access firewall settings if that is in fact what is causeing the error. My smb.conf file is printed below.
Thanks

[global]
workgroup = GUK
server string = Samba Serv Biotch
guest account = nobody
invalid users = root
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
encrypt passwords = true
socket options = TCP_NODELAY
os level = 1
domain master = no
dns proxy = no
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
obey pam restrictions = yes
netbios name = nomad
hosts allow = 192.168.1.0/24 nomad
[homes]
comment = Home Directories
browseable = no
writable = yes
create mask = 0770
directory mask = 0770

[bigshare]
comment = Shared Dirrectory
path = /home
read only = no
browseable = yes
create mask = 0666
dirrectory mask = 0777
 
Old 12-29-2004, 12:34 PM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Samba uses ports 137 (netbios browsing), 138 (netbios name service), 139 (file/print sharing), 445 (XP without netbios over tcp/ip) and then 901 for the SWAT tool. I'm not sure what firewall tools you have but you can always just use the 'iptables' commands to edit your rc.firewall I believe. Hope that helps some.

I don't think those have changed recently but it's possible.

Last edited by Vincent_Vega; 12-29-2004 at 12:36 PM.
 
Old 12-29-2004, 01:17 PM   #3
Xaque208
LQ Newbie
 
Registered: Oct 2004
Location: United States
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks, I appreciate your help.
 
  


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
Using firewall with samba Imanerd Linux - Networking 6 03-16-2005 04:25 PM
Help with Samba firewall nutthick Linux - Security 15 11-15-2004 02:17 AM
samba + firewall palu Linux - Networking 2 06-13-2004 01:03 PM
RH9 SAMBA and Firewall jwspring Linux - Networking 17 12-10-2003 07:54 PM
How do I configure firewall for SAMBA? drwolfson Linux - Networking 4 11-05-2003 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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