From 5a4a8305cc2298394ff188be330c6cd48761b36d Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Tue, 27 May 2003 16:10:53 +0000 Subject: Added a few example case thingies - called Common Errors. (This used to be commit 58ed149471289c71f6e562495aef7b4e6ace0ad2) --- docs/docbook/projdoc/Compiling.xml | 16 ++++++++++ docs/docbook/projdoc/InterdomainTrusts.xml | 33 ++++++++++++++++++++ docs/docbook/projdoc/Speed.xml | 50 ++++++++++++++++++++++++++++++ docs/docbook/projdoc/locking.xml | 20 ++++++++++++ 4 files changed, 119 insertions(+) (limited to 'docs') diff --git a/docs/docbook/projdoc/Compiling.xml b/docs/docbook/projdoc/Compiling.xml index f392efb32b..f7f0a8394d 100644 --- a/docs/docbook/projdoc/Compiling.xml +++ b/docs/docbook/projdoc/Compiling.xml @@ -448,4 +448,20 @@ example of what you would not want to see would be: script to make Samba fit into that system. + + +Common Errors + + +I've compiled Samba-3 from the CVS and the two binaries (smbd and nmbd) +are very large files (40 Mg and 20 Mg). I've the same result with +--enable-shared ? + + + +Answer: Strip the binaries (or dond't compile with -g). + + + + diff --git a/docs/docbook/projdoc/InterdomainTrusts.xml b/docs/docbook/projdoc/InterdomainTrusts.xml index 416bceca3f..9fe108e4ee 100644 --- a/docs/docbook/projdoc/InterdomainTrusts.xml +++ b/docs/docbook/projdoc/InterdomainTrusts.xml @@ -255,6 +255,39 @@ or that suffer regular outages. Network stability and integrity are key concerns distributed trusted domains. + + Tell me about Trust Relationships using Samba + + + Like many, I administer multiple LANs connected together using NT trust + relationships. This was implemented about 4 years ago. I now have the + occasion to consider performing this same task again, but this time, I + would like to implement it solely through samba - no Microsoft PDCs + anywhere. + + + + I have read documentation on samba.org regarding NT-style trust + relationships and am now wondering, can I do what I want to? I already + have successfully implemented 2 samba servers, but they are not PDCs. + They merely act as file servers. I seem to remember, and it appears to + be true (according to samba.org) that trust relationships are a + challenge. + + + + Please provide any helpful feedback that you may have. + + + + These are almost complete in Samba 3.0 snapshots. The main catch + is getting winbindd to be able to allocate uid/gid's for trusted + users/groups. See the updated Samba HOWTO collection for more + details. + + + + diff --git a/docs/docbook/projdoc/Speed.xml b/docs/docbook/projdoc/Speed.xml index e2ede62ac7..9dd76e887d 100644 --- a/docs/docbook/projdoc/Speed.xml +++ b/docs/docbook/projdoc/Speed.xml @@ -219,4 +219,54 @@ performance. Check the sections on the various clients in + + +Samba performance problem due changing kernel (2.4.20 Linux kernel) + + +Hi everyone. 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 performance issue with samba. Ok +many of you will probably say that move to vanilla sources...well I ried +it too and it didn't work. I have 100mb LAN and two computers (linux + +Windows2000). Linux server shares directory with DivX files, client +(windows2000) plays them via LAN. Before when I was running 2.4.19 kernel +everything was fine, but now movies freezes and stops...I tried moving +files between server and Windows and it's trerribly slow. + + + +Grab 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, etc... look normal for ethernet. + + + + + +Corrupt tdb Files + + + +Well today it happend.... our first major troubles using samba. This is +no complaints but just some questions :-) +Our samba PDC server has been hosting 3 TB of data to our 500+ users +[Windows NT/XP] for the last 3 years using samba, no problem. +But today all shares went SLOW; very slow. Also the main smbd kept +spawning new processes so we had 1600+ running smbd's.... ( while +normally we avg. 250 ). +It crashed the SUN E3500 cluster twice. After alot of searching I +decided to rm ./var/locks/*.tbl and YES I was happy again. + +Q1) Is there any method of keeping the *.tbl files in top condition or +how to early detect corruption? + +Q2) What I also would like to mention is that the service latency seems +alot lower then before the locks cleanup, any ideas on keeping it top notch? + + + + + diff --git a/docs/docbook/projdoc/locking.xml b/docs/docbook/projdoc/locking.xml index 5d21270e87..6a514b0415 100644 --- a/docs/docbook/projdoc/locking.xml +++ b/docs/docbook/projdoc/locking.xml @@ -980,6 +980,26 @@ so far: + + locking.trb error messages + + + + > We are seeing lots of errors in the samba logs like: + > + > tdb(/usr/local/samba_2.2.7/var/locks/locking.tdb): rec_read bad magic + > 0x4d6f4b61 at offset=36116 + > + > What do these mean? + + + + + Corrupted tdb. Stop all instancesd of smbd, delete locking.tdb, restart smbd. + + + + -- cgit