From: John Terpstra Date: Fri, 1 Jul 2005 09:25:51 +0000 (+0000) Subject: Remove port 445 so NBT works correctly. X-Git-Tag: samba-4.0.0alpha6~801^2~2107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cdfe287eb4962332e4faf6924a2fff08019a6d9c;p=thirdparty%2Fsamba.git Remove port 445 so NBT works correctly. (This used to be commit 8b3fc80392a801b3183e48d1be2d481de2a379b8) --- diff --git a/docs/Samba3-ByExample/SBE-2000UserNetwork.xml b/docs/Samba3-ByExample/SBE-2000UserNetwork.xml index 178d9cff85e..f7a4daa117b 100644 --- a/docs/Samba3-ByExample/SBE-2000UserNetwork.xml +++ b/docs/Samba3-ByExample/SBE-2000UserNetwork.xml @@ -1062,7 +1062,7 @@ index default sub 0 /var/log/samba/%m 0 -139 445 +139 wins bcast hosts Yes CUPS @@ -1182,7 +1182,7 @@ index default sub 0 /var/log/samba/%m 50 -139 445 +139 wins bcast hosts CUPS No diff --git a/docs/Samba3-ByExample/SBE-500UserNetwork.xml b/docs/Samba3-ByExample/SBE-500UserNetwork.xml index 9756e333342..d7629d07fb7 100644 --- a/docs/Samba3-ByExample/SBE-500UserNetwork.xml +++ b/docs/Samba3-ByExample/SBE-500UserNetwork.xml @@ -1032,7 +1032,7 @@ hosts: files dns wins 0 /var/log/samba/%m 50 -139 445 +139 wins bcast hosts Yes CUPS diff --git a/docs/Samba3-ByExample/SBE-AddingUNIXClients.xml b/docs/Samba3-ByExample/SBE-AddingUNIXClients.xml index 15a228ae5ba..875a47df272 100644 --- a/docs/Samba3-ByExample/SBE-AddingUNIXClients.xml +++ b/docs/Samba3-ByExample/SBE-AddingUNIXClients.xml @@ -660,7 +660,7 @@ Join to 'MEGANET2' failed. 0 /var/log/samba/%m 50 -139 445 +139 wins bcast hosts CUPS 192.168.2.1 @@ -939,7 +939,7 @@ MEGANET2+PIOps:x:10005: 0 /var/log/samba/%m 0 -139 445 +139 wins bcast hosts CUPS 192.168.2.1 @@ -1038,7 +1038,7 @@ Joined domain MEGANET2. Yes /var/log/samba/%m 0 -139 445 +139 wins bcast hosts CUPS 192.168.2.1 diff --git a/docs/Samba3-ByExample/SBE-MakingHappyUsers.xml b/docs/Samba3-ByExample/SBE-MakingHappyUsers.xml index bfefce4d604..b6dbe471a9e 100644 --- a/docs/Samba3-ByExample/SBE-MakingHappyUsers.xml +++ b/docs/Samba3-ByExample/SBE-MakingHappyUsers.xml @@ -1869,7 +1869,7 @@ SID for domain MASSIVE is: S-1-5-21-3504140859-1010554828-2431957765 0 /var/log/samba/%m 50 - 139 445 + 139 wins bcast hosts Yes CUPS @@ -3203,7 +3203,7 @@ smb: \> q 0 /var/log/samba/%m 50 - 139 445 + 139 wins bcast hosts CUPS No @@ -3243,7 +3243,7 @@ smb: \> q 0 /var/log/samba/%m 50 - 139 445 + 139 wins bcast hosts CUPS No diff --git a/docs/Samba3-ByExample/SBE-SecureOfficeServer.xml b/docs/Samba3-ByExample/SBE-SecureOfficeServer.xml index 2b29b42d2f1..ef95a8dd68c 100644 --- a/docs/Samba3-ByExample/SBE-SecureOfficeServer.xml +++ b/docs/Samba3-ByExample/SBE-SecureOfficeServer.xml @@ -823,7 +823,7 @@ echo -e "\nNAT firewall done.\n" 0 /var/log/samba/%m 50 -139 445 +139 wins bcast hosts Yes CUPS @@ -1852,7 +1852,7 @@ Loaded services file OK. syslog = 0 log file = /var/log/samba/%m max log size = 50 - smb ports = 139 445 + smb ports = 139 name resolve order = wins bcast hosts time server = Yes printcap name = CUPS @@ -2536,7 +2536,7 @@ Nmap run completed -- 1 IP address (1 host up) scanned in 168 seconds The default order by which Samba-3 attempts to communicate with MS Windows clients is via port 445 (the TCP port used by Windows clients when NetBIOS-less SMB over TCP/IP is in use). TCP port 139 is the primary port used for NetBIOS over TCP/IP. In this configuration Windows network operations are predicated around NetBIOS over TCP/IP. By - specifying the use of port 139 before port 445, the intent is to reduce unsuccessful service connection attempts. + specifying the use of only port 139, the intent is to reduce unsuccessful service connection attempts. The result of this is improved network performance. Where Samba-3 is installed as an Active Directory Domain member, the default behavior is highly beneficial and should not be changed.