summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-31 04:56:16 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-31 04:56:16 +0000
commit4516a14dbbc03f2ae2ce3c4d4e22e11e24a8a42f (patch)
tree25a6e27d0e4fe6e971089c9b6674181f31e60250 /source3/include
parent81b69dc79cccd575d33b62ddf7941c5b3c44fdfe (diff)
downloadsamba-4516a14dbbc03f2ae2ce3c4d4e22e11e24a8a42f.tar.gz
samba-4516a14dbbc03f2ae2ce3c4d4e22e11e24a8a42f.tar.bz2
samba-4516a14dbbc03f2ae2ce3c4d4e22e11e24a8a42f.zip
added support for smbd listening on port 445 and 139. It now listens
on both by default, and you can specify a list of ports to listen on either with "smb ports = " in smb.conf or using the -p option to smbd. this is needed for proper netbiosless operation. (This used to be commit 5dee0a7b5e0fcb298a9d36661c80e60d8b9bcc3a)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 2911a991f2..263dd67c54 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -38,7 +38,9 @@
#define NMB_PORT 137
#define DGRAM_PORT 138
-#define SMB_PORT 139
+#define SMB_PORT1 445
+#define SMB_PORT2 139
+#define SMB_PORTS "445 139"
#define False (0)
#define True (1)