From: John Terpstra Date: Tue, 28 Jun 2005 22:52:02 +0000 (+0000) Subject: Update. X-Git-Tag: samba-3.3.0pre1~1988 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9144f87a2973c9cb5383878e46bfb0031351e3d8;p=thirdparty%2Fsamba.git Update. --- diff --git a/docs/Samba3-HOWTO/TOSHARG-DNS-DHCP-Configuration.xml b/docs/Samba3-HOWTO/TOSHARG-DNS-DHCP-Configuration.xml index 4b509788316..f64a677159c 100644 --- a/docs/Samba3-HOWTO/TOSHARG-DNS-DHCP-Configuration.xml +++ b/docs/Samba3-HOWTO/TOSHARG-DNS-DHCP-Configuration.xml @@ -11,6 +11,8 @@ Features and Benefits +Dynamic Host Configuration ProtocolDHCP +Domain Name SystemDNS There are few subjects in the UNIX world that might raise as much contention as Domain Name System (DNS) and Dynamic Host Configuration Protocol (DHCP). Not all opinions held for or against particular implementations of DNS and DHCP @@ -24,6 +26,7 @@ notebook computer into a network port and have things just work. +ADS UNIX administrators have a point. Many of the normative practices in the Microsoft Windows world at best border on bad practice from a security perspective. Microsoft Windows networking protocols allow workstations to arbitrarily register @@ -35,26 +38,28 @@ that are equally perplexing to UNIX administrators. Welcome to the new world! ISCDNS ISCDHCP +Dynamic DNSDDNS The purpose of this chapter is to demonstrate the configuration of the Internet Software Consortium (ISC) DNS and DHCP servers to provide dynamic services that are compatible with their equivalents in the Microsoft Windows 2000 Server products. -This chapter provides no more than a working example of -configuration files for both DNS and DHCP servers. The examples used match -configuration examples used elsewhere in this document. +This chapter provides no more than a working example of configuration files for both DNS and DHCP servers. The +examples used match configuration examples used elsewhere in this document. -This chapter explicitly does not provide a tutorial, nor does it pretend to be -a reference guide on DNS and DHCP, as this is well beyond the scope and intent -of this document as a whole. Anyone who wants more detailed reference materials -on DNS or DHCP should visit the ISC Web site at - http://www.isc.org. -Those wanting a written text might also be interested in the O'Reilly publications on DNS, see the -O'Reilly web site, and the -BIND9.NET web site for details. +DNS +DHCP +BIND9.NET +This chapter explicitly does not provide a tutorial, nor does it pretend to be a reference guide on DNS and +DHCP, as this is well beyond the scope and intent of this document as a whole. Anyone who wants more detailed +reference materials on DNS or DHCP should visit the ISC Web site at http://www.isc.org. Those wanting a written text might also be interested +in the O'Reilly publications on DNS, see the O'Reilly web site, and the BIND9.NET web site for details. The books are: @@ -70,17 +75,19 @@ The books are: Example Configuration -The DNS is to the Internet what water is to life. Nearly all -information resources (host names) are resolved to their Internet protocol (IP) addresses through DNS. -Windows networking tried hard to avoid the complexities of DNS, but alas, DNS won. WINS -The alternative to DNS, the Windows Internet Name Service (WINS) &smbmdash; an artifact of -NetBIOS networking over the TCP/IP protocols &smbmdash; has demonstrated scalability problems as -well as a flat, nonhierarchical namespace that became unmanageable as the size and -complexity of information technology networks grew. +DNS +The DNS is to the Internet what water is to life. Nearly all information resources (host names) are resolved +to their Internet protocol (IP) addresses through DNS. Windows networking tried hard to avoid the +complexities of DNS, but alas, DNS won. WINS The alternative to +DNS, the Windows Internet Name Service (WINS) &smbmdash; an artifact of NetBIOS networking over the TCP/IP +protocols &smbmdash; has demonstrated scalability problems as well as a flat, nonhierarchical namespace that +became unmanageable as the size and complexity of information technology networks grew. +RFC 1001 +RFC 1002 WINS is a Microsoft implementation of the RFC1001/1002 NetBIOS Name Service (NBNS). It allows NetBIOS clients (like Microsoft Windows machines) to register an arbitrary machine name that the administrator or user has chosen together with the IP @@ -283,6 +290,8 @@ $ORIGIN 1.168.192.in-addr.arpa. +BIND +dynamic registration files The configuration files shown here were copied from a fully working system. All dynamically registered entries have been removed. In addition to these files, BIND version 9 will create for each of the dynamic registration files a file that has a diff --git a/docs/Samba3-HOWTO/TOSHARG-Other-Clients.xml b/docs/Samba3-HOWTO/TOSHARG-Other-Clients.xml index d6a9259118b..94c3fcc81a4 100644 --- a/docs/Samba3-HOWTO/TOSHARG-Other-Clients.xml +++ b/docs/Samba3-HOWTO/TOSHARG-Other-Clients.xml @@ -17,23 +17,22 @@ Macintosh Clients -Yes. Thursby has a CIFS client/server called DAVE. -They test it against Windows 95, Windows NT/200x/XP, and Samba for -compatibility issues. At the time of this writing, DAVE was at version -4.1. Please refer to Thursby's Web site for more information regarding this -product. +DAVE +Yes. Thursby has a CIFS client/server called DAVE. They test it against Windows 95, Windows +NT/200x/XP, and Samba for compatibility issues. At the time of this writing, DAVE was at version 5.1. Please +refer to Thursby's Web site for more information regarding this product. -Alternatives include two free implementations of AppleTalk for -several kinds of UNIX machines and several more commercial ones. -These products allow you to run file services and print services -natively to Macintosh users, with no additional support required on -the Macintosh. The two free implementations are -Netatalk and -CAP. -What Samba offers MS Windows users, these packages offer to Macs. -For more info on these packages, Samba, and Linux (and other UNIX-based systems), see +Netatalk +CAP +Alternatives include two free implementations of AppleTalk for several kinds of UNIX machines and several more +commercial ones. These products allow you to run file services and print services natively to Macintosh +users, with no additional support required on the Macintosh. The two free implementations are Netatalk and CAP. What Samba offers MS Windows users, these +packages offer to Macs. For more info on these packages, Samba, and Linux (and other UNIX-based systems), see http://www.eats.com/linux_mac_win.html. @@ -140,21 +139,18 @@ For more info on these packages, Samba, and Linux (and other UNIX-based systems) for Workgroups. The early TCP/IP stacks had lots of bugs. -Microsoft has released an incremental upgrade to its TCP/IP 32-bit -VxD drivers. The latest release can be found at -ftp.microsoft.com, located in /Softlib/MSLFILES/TCP32B.EXE. -There is an update.txt file there that describes the problems that were -fixed. New files include WINSOCK.DLL, -TELNET.EXE, -WSOCK.386, -VNBT.386, -WSTCP.386, -TRACERT.EXE, -NETSTAT.EXE, and -NBTSTAT.EXE. +Microsoft has released an incremental upgrade to its TCP/IP 32-bit VxD drivers. The latest release can be +found at ftp.microsoft.com, located in /Softlib/MSLFILES/TCP32B.EXE. There is an +update.txt file there that describes the problems that were fixed. New files include +WINSOCK.DLL, TELNET.EXE, WSOCK.386, +VNBT.386, WSTCP.386, TRACERT.EXE, +NETSTAT.EXE, and NBTSTAT.EXE. -More information about this patch is available in Knowledge Base article 99891. + +More information about this patch is available in Knowledge Base article 99891. + @@ -183,13 +179,12 @@ Often Windows for Workgroups will totally ignore a password you give it in a dia Configuring Windows for Workgroups Password Handling -There is a program call admincfg.exe -on the last disk (disk 8) of the WFW 3.11 disk set. To install it, -type EXPAND A:\ADMINCFG.EX_ C:\WINDOWS\ADMINCFG.EXE. -Then add an icon for it via the Program Manager New menu. -This program allows you to control how WFW handles passwords, -Disable Password Caching and so on, -for use with user. +admincfg.exe +There is a program call admincfg.exe on the last disk (disk 8) of the WFW 3.11 disk set. +To install it, type EXPAND A:\ADMINCFG.EX_ C:\WINDOWS\ADMINCFG.EXE. Then add an icon +for it via the Program Manager New menu. This program allows +you to control how WFW handles passwords, Disable Password Caching and so on, for use with user. @@ -215,7 +210,7 @@ It is presumably a Windows for Workgroups bug. - + Speed Improvement @@ -240,7 +235,8 @@ person even reported a speed drop of a factor of 30 when he went from When using Windows 95 OEM SR2, the following updates are recommended where Samba -is being used. Please note that the above change (John, specify the change???????) will affect you once these +is being used. Please note that the changes documented in +Speed Improvement will affect you once these updates have been installed. diff --git a/docs/Samba3-HOWTO/TOSHARG-Speed.xml b/docs/Samba3-HOWTO/TOSHARG-Speed.xml index c9707552e84..1221eedfb45 100644 --- a/docs/Samba3-HOWTO/TOSHARG-Speed.xml +++ b/docs/Samba3-HOWTO/TOSHARG-Speed.xml @@ -218,28 +218,34 @@ performance. Check the sections on the various clients in A user wrote the following to the mailing list: +
-I am running Gentoo on my server and Samba 2.2.8a. Recently -I changed kernel version from linux-2.4.19-gentoo-r10 to -linux-2.4.20-wolk4.0s. And now I have a performance issue with Samba. -Many of you will probably say, Move to vanilla sources! -Well, I tried that and it didn't work. I have a 100MB LAN and two computers (Linux and -Windows 2000). The Linux server shares directories with DivX files, the client -(Windows 2000) plays them via LAN. Before, when I was running the 2.4.19 kernel, -everything was fine, but now movies freeze and stop. I tried moving -files between the server and Windows, and it is terribly slow. (John, should this be set off as an extract???????) +Gentoo +slow network +I am running Gentoo on my server and Samba 2.2.8a. Recently I changed kernel version from +linux-2.4.19-gentoo-r10 to linux-2.4.20-wolk4.0s. And now I have a +performance issue with Samba. Many of you will probably say, Move to vanilla sources! Well, I +tried that and it didn't work. I have a 100MB LAN and two computers (Linux and Windows 2000). The Linux server +shares directories with DivX files, the client (Windows 2000) plays them via LAN. Before, when I was running +the 2.4.19 kernel, everything was fine, but now movies freeze and stop. I tried moving files between the +server and Windows, and it is terribly slow. +
The answer he was given is: +
-Grab the mii-tool and check the duplex settings on the NIC. -My guess is that it is a link layer issue, not an application -layer problem. Also run ifconfig and verify that the framing -error, collisions, and so on, look normal for ethernet. (John, should this be set off as an extract???????) +ifconfig +framing error +collisions +Grab the mii-tool and check the duplex settings on the NIC. My guess is that it is a link layer issue, not an +application layer problem. Also run ifconfig and verify that the framing error, collisions, and so on, look +normal for ethernet. +
@@ -247,12 +253,13 @@ error, collisions, and so on, look normal for ethernet. (John, should this be se Corrupt tdb Files -Our Samba PDC server has been hosting three TB of data to our 500+ users -[Windows NT/XP] for the last three years using Samba without a problem. -Today all shares went very slow. Also, the main smbd kept -spawning new processes, so we had 1600+ running SMDB's (normally we average 250). -It crashed the SUN E3500 cluster twice. After a lot of searching, I -decided to rm /var/locks/*.tdb. Happy again. +PDC +mbd kept spawning +/var/locks/*.tdb +Our Samba PDC server has been hosting three TB of data to our 500+ users [Windows NT/XP] for the last three +years using Samba without a problem. Today all shares went very slow. Also, the main smbd kept spawning new +processes, so we had 1600+ running SMDB's (normally we average 250). It crashed the SUN E3500 cluster twice. +After a lot of searching, I decided to rm /var/locks/*.tdb. Happy again. @@ -261,6 +268,8 @@ how can I detect early corruption? +tdbbackup +nmbd Answer: Yes, run tdbbackup each time after stopping nmbd and before starting nmbd. @@ -279,18 +288,23 @@ a lot lower than before the locks cleanup. Any ideas on keeping it top notch? Samba Performance is Very Slow +slow performance A site reported experiencing very baffling symptoms with MYOB Premier opening and accessing its data files. Some operations on the file would take between 40 and 45 seconds. +printer monitor +pauses It turned out that the printer monitor program running on the Windows clients was causing the problems. From the logs, we saw activity coming through with pauses of about 1 second. +networks access +printing now Stopping the monitor software resulted in the networks access at normal (quick) speed. Restarting the program caused the speed to slow down again. The printer was a Canon LBP-810 and the relevant task was