Re: [Samba] ports

2013-05-10 Thread Jeremy Allison
On Thu, May 09, 2013 at 10:02:23AM -0700, Jessica Guynn wrote:
 Is there a parameter for smb config for incoming connections to originate
 from ports greater than 1024 (insecure ports)?

smbd doesn't care what port number the incoming connection is
arriving from.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] ports

2013-05-09 Thread Jessica Guynn
Is there a parameter for smb config for incoming connections to originate
from ports greater than 1024 (insecure ports)?

If not, can I set the smb ports like this smb ports = 1033 in the global
section?

Thanks guys!

-Jessica
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba ports

2012-10-09 Thread Marcio Oli
Anybody could help me with this entries in my machines logs:

[2012/10/09 14:59:33.092831,  0] lib/util_sock.c:474(read_fd_with_timeout)
[2012/10/09 14:59:33.093013,  0]
lib/util_sock.c:1441(get_peer_addr_internal)
  getpeername failed. Error was Ponto final de transporte não está
conectado  (some logs in portuguese, so the translation is
so so: Error was transport endpoint is not connected)
  read_fd_with_timeout: client 0.0.0.0 read error = Conexão fechada pela
outra ponta.( ...: connection closed by other peer)

Why this appears frequently?

I had already heard that this is a problem with a connection about the
windows clients. Is this true?
In my smb.conf:
 smb ports = 139 445


Thanks,
-- 
Marcio Oliveira.
Tudo concorre para o bem daqueles que amam à Deus. (Rom 8,28)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba ports

2012-10-09 Thread Andrew Bartlett
On Tue, 2012-10-09 at 19:06 -0300, Marcio Oli wrote:
 Anybody could help me with this entries in my machines logs:
 
 [2012/10/09 14:59:33.092831,  0] lib/util_sock.c:474(read_fd_with_timeout)
 [2012/10/09 14:59:33.093013,  0]
 lib/util_sock.c:1441(get_peer_addr_internal)
   getpeername failed. Error was Ponto final de transporte não está
 conectado  (some logs in portuguese, so the translation is
 so so: Error was transport endpoint is not connected)
   read_fd_with_timeout: client 0.0.0.0 read error = Conexão fechada pela
 outra ponta.( ...: connection closed by other peer)
 
 Why this appears frequently?
 
 I had already heard that this is a problem with a connection about the
 windows clients. Is this true?
 In my smb.conf:
  smb ports = 139 445

We have since made this message less prominent.  The windows client will
connect to both ports, and then drop one connection.  It is harmless.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] I am so frustrated - Samba ports not opening and no error message

2009-06-08 Thread Walter Mautner
Am Freitag 05 Juni 2009 23:40:20 schrieb Matt Burkhardt:
 Okay - I've been plugging away and it got to the point that running
 smbclient was returning information about an Alfresco install that I
 never used, so I went ahead and deleted everything I could find on my
 machine that said alfresco.  I then removed samba using apt-get from
 the machine by typing

 apt-get remove --purge samba

 I deleted the /etc/samba directory and re-installed samba.

 So now I've made sure that DHCP, DNS and OpenLDAP are now working
 correctly and I started to reconfigure Samba.  I start it up and I look
 at the log.smbd and log.nmbd files, don't see a single error message and
 when I run nmap - there's nothing listening on the ports that Samba is
 supposed to be using.  I have no firewall set up and nothing between me
 and the server.   Here's showing that the daemons are running:

  ps -e | grep mb
  6984 ?00:00:00 nmbd
  6986 ?00:00:00 smbd

 Here's the results from nmap

  nmap ubuntu

Is ubuntu equal to localhost or did you nmap remotely?

 Starting Nmap 4.53 ( http://insecure.org ) at 2009-06-05 17:34 EDT
 Interesting ports on 192.168.1.100:
 Not shown: 1697 closed ports
 PORT  STATE SERVICE
 22/tcpopen  ssh
 53/tcpopen  domain
 80/tcpopen  http
 81/tcpopen  hosts2-ns
 82/tcpopen  xfer
 83/tcpopen  mit-ml-dev
 111/tcp   open  rpcbind
 389/tcp   open  ldap
 443/tcp   open  https
 631/tcp   open  ipp
 901/tcp   open  samba-swat

That's the only samba-related port I can find open ...
You may try https://ubuntu:901 or uninstall the samba-swat package.


 On a side note - I can't stop samba by running

 sudo /etc/init.d/samba stop

 It kills the nmbd daemon but not the smbd daemon

Can you strace -ppid-of-samba-daemon and look where it hangs?

Interestingly, the attached logfiles don't show anything special.
You might as well try to specify (man smb.conf) a interfaces global 
statement?

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] I am so frustrated - Samba ports not opening and no error message

2009-06-05 Thread Matt Burkhardt
Okay - I've been plugging away and it got to the point that running
smbclient was returning information about an Alfresco install that I
never used, so I went ahead and deleted everything I could find on my
machine that said alfresco.  I then removed samba using apt-get from
the machine by typing

apt-get remove --purge samba 

I deleted the /etc/samba directory and re-installed samba.

So now I've made sure that DHCP, DNS and OpenLDAP are now working
correctly and I started to reconfigure Samba.  I start it up and I look
at the log.smbd and log.nmbd files, don't see a single error message and
when I run nmap - there's nothing listening on the ports that Samba is
supposed to be using.  I have no firewall set up and nothing between me
and the server.   Here's showing that the daemons are running:

 ps -e | grep mb
 6984 ?00:00:00 nmbd
 6986 ?00:00:00 smbd

Here's the results from nmap

 nmap ubuntu

Starting Nmap 4.53 ( http://insecure.org ) at 2009-06-05 17:34 EDT
Interesting ports on 192.168.1.100:
Not shown: 1697 closed ports
PORT  STATE SERVICE
22/tcpopen  ssh
53/tcpopen  domain
80/tcpopen  http
81/tcpopen  hosts2-ns
82/tcpopen  xfer
83/tcpopen  mit-ml-dev
111/tcp   open  rpcbind
389/tcp   open  ldap
443/tcp   open  https
631/tcp   open  ipp
901/tcp   open  samba-swat
3306/tcp  open  mysql
5001/tcp  open  commplex-link
5432/tcp  open  postgres
8009/tcp  open  ajp13
8080/tcp  open  http-proxy
1/tcp open  snet-sensor-mgmt

Nmap done: 1 IP address (1 host up) scanned in 0.151 seconds

I have attached the log.smbd, log.nmbd and smb.conf files.  Any ideas?

I can't logon - just says Connection refused.

On a side note - I can't stop samba by running

sudo /etc/init.d/samba stop

It kills the nmbd daemon but not the smbd daemon

Thanks!


-- 
Matt Burkhardt, M.Sci. Technology Management
m...@imparisystems.com
(301) 682-7901
502 Fairview Avenue
Frederick, MD  21701
http://www.imparisystems.com 

[2009/06/05 17:33:17, 0] nmbd/nmbd.c:main(721)
  Netbios nameserver version 3.0.28a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/06/05 17:33:17, 3] nmbd/nmbd.c:reload_nmbd_services(298)
  services not loaded
[2009/06/05 17:33:17, 2] nmbd/nmbd.c:main(745)
  Becoming a daemon.
[2009/06/05 17:33:17, 2] lib/tallocmsg.c:register_msg_pool_usage(105)
  Registered MSG_REQ_POOL_USAGE
[2009/06/05 17:33:17, 2] lib/dmallocmsg.c:register_dmalloc_msgs(75)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2009/06/05 17:33:17, 3] nmbd/nmbd.c:main(783)
  Opening sockets 137
[2009/06/05 17:33:17, 3] nmbd/nmbd.c:open_sockets(639)
  open_sockets: Broadcast sockets opened.
[2009/06/05 17:33:17, 2] lib/interface.c:add_interface(81)
  added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
[2009/06/05 17:33:17, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
  making subnet name:192.168.1.100 Broadcast address:192.168.1.255 Subnet 
mask:255.255.255.0
[2009/06/05 17:33:17, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
  making subnet name:UNICAST_SUBNET Broadcast address:192.168.1.100 Subnet 
mask:192.168.1.100
[2009/06/05 17:33:17, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
  making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet 
mask:0.0.0.0
[2009/06/05 17:33:17, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
  making subnet name:WINS_SERVER_SUBNET Broadcast address:0.0.0.0 Subnet 
mask:0.0.0.0
[2009/06/05 17:33:17, 2] nmbd/nmbd_lmhosts.c:load_lmhosts_file(41)
  load_lmhosts_file: Can't open lmhosts file /etc/samba/lmhosts. Error was No 
such file or directory
[2009/06/05 17:33:17, 3] nmbd/nmbd.c:main(802)
  Loaded hosts file /etc/samba/lmhosts
[2009/06/05 17:33:17, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name *00 with first IP 192.168.1.100 
ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/06/05 17:33:17, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name *20 with first IP 192.168.1.100 
ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/06/05 17:33:17, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name __SAMBA__20 with first IP 
192.168.1.100 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/06/05 17:33:17, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name __SAMBA__00 with first IP 
192.168.1.100 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/06/05 17:33:17, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name UBUNTU03 with first IP 192.168.1.100 
ttl=259053 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/06/05 17:33:17, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name UBUNTU20 with first IP 192.168.1.100 
ttl=259053 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/06/05 17:33:17, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name WORKGROUP1b with 

Re: [Samba] I am so frustrated - Samba ports not opening and no error message

2009-06-05 Thread Jeremy Allison
On Fri, Jun 05, 2009 at 05:40:20PM -0400, Matt Burkhardt wrote:
 Okay - I've been plugging away and it got to the point that running
 smbclient was returning information about an Alfresco install that I
 never used, so I went ahead and deleted everything I could find on my
 machine that said alfresco.  I then removed samba using apt-get from
 the machine by typing
 
 apt-get remove --purge samba 
 
 I deleted the /etc/samba directory and re-installed samba.
 
 So now I've made sure that DHCP, DNS and OpenLDAP are now working
 correctly and I started to reconfigure Samba.  I start it up and I look
 at the log.smbd and log.nmbd files, don't see a single error message and
 when I run nmap - there's nothing listening on the ports that Samba is
 supposed to be using.  I have no firewall set up and nothing between me
 and the server.   Here's showing that the daemons are running:
 
  ps -e | grep mb
  6984 ?00:00:00 nmbd
  6986 ?00:00:00 smbd
 
 Here's the results from nmap
 
  nmap ubuntu
 
 Starting Nmap 4.53 ( http://insecure.org ) at 2009-06-05 17:34 EDT
 Interesting ports on 192.168.1.100:
 Not shown: 1697 closed ports
 PORT  STATE SERVICE
 22/tcpopen  ssh
 53/tcpopen  domain
 80/tcpopen  http
 81/tcpopen  hosts2-ns
 82/tcpopen  xfer
 83/tcpopen  mit-ml-dev
 111/tcp   open  rpcbind
 389/tcp   open  ldap
 443/tcp   open  https
 631/tcp   open  ipp
 901/tcp   open  samba-swat
 3306/tcp  open  mysql
 5001/tcp  open  commplex-link
 5432/tcp  open  postgres
 8009/tcp  open  ajp13
 8080/tcp  open  http-proxy
 1/tcp open  snet-sensor-mgmt

This ports list shows smbd is not binding to the external
ports. smbd uses TCP 139  445. nmbd uses udp 137 and 138.

Jeremy
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Disappearing samba ports

2007-08-10 Thread Dale Schroeder
I have new install of Debian, primarily testing with some stable. 
The kernel is 2.6.21-2. I am having problems with a Samba (3.0.25b-1+b1, 
3.0.25b-1) install. smb.conf is from a template I have used several 
times previously (including 3.0.25b) with no problems. From Windows 
Explorer, the shares will be slow to appear, with folders and files in 
the right pane appearing and disappearing. After some time, the shares 
will become completely inaccessible. In an attempt to correct, I 
restarted both Samba processes, which not only did not help, but made worse.


The log files gave messages suggesting firewall problems, but there is 
no firewall. NMAP showed both samba ports closed, but open again after a 
reboot. A restart of Samba causes the ports to close again leading to 
the error messages mentioned previously.


Samba is set up as a standalone server in a workgroup with security = 
user, passdb backend = tdbsam.


After the initial install, I was able to upload printer drivers and did 
not notice any speed problems.  Changes to the system since the initial 
Samba install are the latest hplip (2.7.7) from sourceforge and an 
iptables update from Debian.


I cannot determine from the logs if the problem is from Samba, such as 
tdb corruption, or something else in the system. I would think that 
ports should not spontaneously close.  I'm hoping someone can give me 
their best guess as to where to look next.


Thanks,

Dale

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Rev 478: - added monitoring of rpc ports for nfs, and of Samba ports and directories in http://samba.org/~tridge/ctdb

2007-06-05 Thread tridge

revno: 478
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell [EMAIL PROTECTED]
branch nick: tridge
timestamp: Wed 2007-06-06 12:08:42 +1000
message:
  - added monitoring of rpc ports for nfs, and of Samba ports and directories
  - added monitoring of the ethernet link state
  
  When monitoring detects an error, the node loses its public IP address
modified:
  common/ctdb_tunables.c 
ctdb_tunables.c-20070604095258-4m34d7cm1qa7yos9-1
  config/events.d/10.interface   10.interface-20070604050809-s21zslfirn07zjt8-1
  config/events.d/50.samba   samba-20070601105340-vlcvnp6euoj3zdwy-3
  config/events.d/59.nfslock nfslock-20070601105340-vlcvnp6euoj3zdwy-2
  config/events.d/60.nfs nfs-20070601141008-hy3h4qgbk1jd2jci-1
  config/functions   functions-20070601105405-gajwirydr5a9zd6x-1
=== modified file 'common/ctdb_tunables.c'
--- a/common/ctdb_tunables.c2007-06-06 00:25:46 +
+++ b/common/ctdb_tunables.c2007-06-06 02:08:42 +
@@ -36,7 +36,7 @@
{ RecoverInterval,   1,  offsetof(struct ctdb_tunable, 
recover_interval) },
{ ElectionTimeout,   3,  offsetof(struct ctdb_tunable, 
election_timeout) },
{ TakeoverTimeout,   5,  offsetof(struct ctdb_tunable, 
takeover_timeout) },
-   { MonitorInterval,  60,  offsetof(struct ctdb_tunable, 
monitor_interval) },
+   { MonitorInterval,  15,  offsetof(struct ctdb_tunable, 
monitor_interval) },
 };
 
 /*

=== modified file 'config/events.d/10.interface'
--- a/config/events.d/10.interface  2007-06-04 05:09:03 +
+++ b/config/events.d/10.interface  2007-06-06 02:08:42 +
@@ -6,6 +6,9 @@
 # public interface
 
 . /etc/ctdb/functions
+loadconfig ctdb
+
+[ -z $CTDB_PUBLIC_INTERFACE ]  exit 0
 
 cmd=$1
 shift
@@ -73,6 +76,15 @@
  shutdown)
;;
 
+ monitor)
+   [ -x /usr/sbin/ethtool ]  {
+   /usr/sbin/ethtool $CTDB_PUBLIC_INTERFACE | grep 'Link detected: 
yes'  /dev/null || {
+   echo `date` ERROR: No link on network interface 
$CTDB_PUBLIC_INTERFACE
+   exit 1
+   }
+   }
+   ;;
+
 esac
 
 exit 0

=== modified file 'config/events.d/50.samba'
--- a/config/events.d/50.samba  2007-06-05 07:43:19 +
+++ b/config/events.d/50.samba  2007-06-06 02:08:42 +
@@ -50,6 +50,15 @@
service smb stop
service winbind stop
;;
+
+ monitor)
+   smb_dirs=`testparm -st 2 /dev/null | egrep '^\s*path = '  | cut -d= 
-f2`
+   ctdb_check_directories Samba $smb_dirs
+
+   smb_ports=`testparm -stv 2 /dev/null | egrep '\s*smb ports =' | cut 
-d= -f2`
+   ctdb_check_tcp_ports Samba $smb_ports
+   ;;
+
 esac
 
 # ignore unknown commands

=== modified file 'config/events.d/59.nfslock'
--- a/config/events.d/59.nfslock2007-06-05 08:16:45 +
+++ b/config/events.d/59.nfslock2007-06-06 02:08:42 +
@@ -51,6 +51,14 @@
 
/bin/rm -f /etc/ctdb/state/statd/restart
;;
+
+  monitor)
+   # check that lockd responds to rpc requests
+   ctdb_check_rpc statd 100024 1
+   ctdb_check_rpc lockd 100021 1
+   ctdb_check_directories statd $STATD_SHARED_DIRECTORY
+   ;;
+
 esac
 
 exit 0

=== modified file 'config/events.d/60.nfs'
--- a/config/events.d/60.nfs2007-06-05 05:18:37 +
+++ b/config/events.d/60.nfs2007-06-06 02:08:42 +
@@ -9,6 +9,8 @@
 cmd=$1
 shift
 
+PATH=/usr/bin:/bin:/usr/sbin:/sbin:$PATH
+
 case $cmd in 
  startup)
mkdir -p /etc/ctdb/state/nfs
@@ -45,6 +47,16 @@
/bin/rm -f /etc/ctdb/state/nfs/restart
;;
 
+  monitor)
+   # check that NFS responds to rpc requests
+   ctdb_check_rpc NFS 13 3
+   ctdb_check_rpc mount 15 1
+
+   # and that its directories are available
+   nfs_dirs=`grep -v '^#'  /etc/exports | cut -d' ' -f1`
+   ctdb_check_directories nfs $nfs_dirs
+   ;;
+
 esac
 
 exit 0

=== modified file 'config/functions'
--- a/config/functions  2007-06-03 12:07:07 +
+++ b/config/functions  2007-06-06 02:08:42 +
@@ -28,7 +28,7 @@
 
 ##
 # wait for a set of tcp ports
-# usage: ctdb_wait_tcp_ports SERICE_NAME ports...
+# usage: ctdb_wait_tcp_ports SERVICE_NAME ports...
 ##
 ctdb_wait_tcp_ports() {
   service_name=$1
@@ -59,9 +59,10 @@
 }
 
 
+
 ##
 # wait for a set of directories
-# usage: ctdb_wait_directories SERICE_NAME directories...
+# usage: ctdb_wait_directories SERVICE_NAME directories...
 ##
 ctdb_wait_directories() {
   service_name=$1
@@ -84,3 +85,58 @@
   echo `/bin/date` Local directories for $service_name are available
 }
 
+
+##
+# check that a rpc server is registered with portmap

[Samba] Ports

2006-08-30 Thread Shaun Marolf
Okay my smb.conf file is correct. Firewall is configured correctly to allow 
Samba on local network. smbd and nmbd are running. Her computer still cannot 
connect to my printer share. I read my Samba version wrong its actually 
3.0.23a-1.fc5.1, here is my smb.conf:

[global]
workgroup = HOME
realm = SHAUN
server string = Samba Server
security = SHARE
encrypt passwords = No
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
wins support = Yes
ldap ssl = no
admin users = shaun
read list = shaun
write list = shaun
printer admin = shaun
cups options = raw

[printers]
comment = All Printers
path = /usr/spool/samba
guest ok = Yes
printable = Yes
browseable = No

[LaserJet_4]
comment = HP LaserJet 4/4M
path = /usr/spool/samba
read only = No
guest ok = Yes
printable = Yes
printer name = LaserJet_4
oplocks = No
share modes = No

I am using Fedora Core 5

She has Windows XP Media Center Edition. I cannot see her computer at all when 
I try to browse with smb4k or with my file manager.

She cannot can see my computer if I scan from her station but she cannot 
connect to me. I ran a scan on SMB ports from her and they show as open so 
she should see my printer but doesn't.

My firewall is reporting the attempt of ports like 35578 attempting to make an 
inbound connection from her.

Did MS change things again or is there something else?

--Shaun

-- 
It isn't about it being free. Rather its about the freedom it brings.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Ports

2006-08-30 Thread Miguel Da Silva - Servicio de Informát ica

Shaun Marolf wrote:
Okay my smb.conf file is correct. Firewall is configured correctly to allow 
Samba on local network. smbd and nmbd are running. Her computer still cannot 
connect to my printer share. I read my Samba version wrong its actually 
3.0.23a-1.fc5.1, here is my smb.conf:


[global]
workgroup = HOME
realm = SHAUN
server string = Samba Server
security = SHARE
encrypt passwords = No
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
wins support = Yes
ldap ssl = no
admin users = shaun
read list = shaun
write list = shaun
printer admin = shaun
cups options = raw

[printers]
comment = All Printers
path = /usr/spool/samba
guest ok = Yes
printable = Yes
browseable = No

[LaserJet_4]
comment = HP LaserJet 4/4M
path = /usr/spool/samba
read only = No
guest ok = Yes
printable = Yes
printer name = LaserJet_4
oplocks = No
share modes = No

I am using Fedora Core 5

She has Windows XP Media Center Edition. I cannot see her computer at all when 
I try to browse with smb4k or with my file manager.


She cannot can see my computer if I scan from her station but she cannot 
connect to me. I ran a scan on SMB ports from her and they show as open so 
she should see my printer but doesn't.


My firewall is reporting the attempt of ports like 35578 attempting to make an 
inbound connection from her.


Did MS change things again or is there something else?

--Shaun



I had once some problems regarding SMB connections and firewalls;
according to Microsoft the ports needed to make this kind of connections
should be 135/UDP, 137/UDP, 138/UDP, 139/TCP and 445/TCP, but if I open
these ports using iptables and block anything else, the connections are
not possible.

I tried all the port/protocol posible combinations and could not make it...

Good luck.

--
Miguel Da Silva.
Servicio de Informatica.
Facultad de Ciencias.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Ports for printing

2003-05-27 Thread Joel Hammer
The output of:
cat /etc/services | grep -i bios


netbios-ns  137/tcp # NETBIOS Name Service
netbios-ns  137/udp
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp
netbios-ssn 139/tcp # NETBIOS session service
netbios-ssn 139/udp

You don't need all of these, some are essentially non-functional and present
no security hazard. To see which ports your server is listening on:
netstat -apn | grep -i smbd
tcp 0 0   0.0.0.0:139  0.0.0.0:*   LISTEN   2250/smbd
If smbd is started by xinitd or initd, you won't see the output above.
Then, xinitd will be watching that port. 
nmbd listens on ports 137 and 138, udp. I do not know what a Datagram
service is, BTW.

Joel



On Tue, May 27, 2003 at 10:21:31AM +0200, Jan Madsen wrote:
 Hallo
 I'm using samba 2.2.8a rpm packet on a redhat 9.0
 On the same machine I use iptables with standard policies with DROP
 
 With ports do I need to open for printing on from my windows pc to work
 
 Best Regards
 Jan madsen
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Ports Recommended?

2002-11-05 Thread Steve Morley
Hi All,

I finally got a completely new box (Multiple Domains Thread from last month)
and have just done a fresh FreeBSD 4.7 install.

I used to use a source tarball, but am wondering if there's any reason to
not use the ports tree.

TIA
Steve
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Ports that Samba Uses

2002-06-03 Thread Ingmar Koecher

Walter,

# grep netbios /etc/services

netbios-ns  137/tcp # NETBIOS Name Service
netbios-ns  137/udp
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp
netbios-ssn 139/tcp # NETBIOS session service
netbios-ssn 139/udp

Ingmar.

On Monday 03 June 2002 02:32 pm, Walter Weiss wrote:
 Is there a list somewhere of every port a linux box running redhat 7.1 uses
 or might use for the samba services?  I need to set up my router to be able
 to access samba from another port but Im not sure which ones to forward.

 THanks,

 Walter Weiss


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Ports that Samba Uses

2002-06-03 Thread Jason Stewart

Hi Walter,

139/TCP - Netbios-ssn for samba,
901/TCP - Swat - (If you are using SWAT).

Good Day,
Jason Stewart

At 11:32 AM 6/3/2002 -0700, Walter Weiss wrote:
Is there a list somewhere of every port a linux box running redhat 7.1 
uses or might use for the samba services?  I need to set up my router to 
be able to access samba from another port but Im not sure which ones to 
forward.

THanks,

Walter Weiss

Jason Stewart
Systems Administrator/Programmer
Right to Life of Michigan
Tel: (616)532-2300
Fax: (616)532-3461

To find out where Michigan Gubernatorial Candidate Jennifer Granholm really 
stands, please visit http://www.granholmgarble.com/


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] samba ports blocked by isp

2002-04-24 Thread Barry Smoke

Is it possible to map a drive to a samba share over the internet,
through an isp that blocks the samba ports...
I know with samba, I can specify a port, but what about a windows
client?
Can I change what port a windows machine looks to for samba/smb for a
particular share only?


Barry Smoke
Network Administrator
Bryant Public Schools


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba