Samba 2.0.6 Release compiles using patches from -current

Mike Squires msquires at
Thu Nov 11 16:45:13 GMT 1999

Using the patches from -current (aa thorugh bb) samba 2.0.6 release compiles under FreeBSD 3.3-RELEASE.  "patch-ba" needs to be edited to change the location
of the lines patched, and "patch-bb" needs to be edited to remove the first
part (no longer needed) and also change the line location for the remaining

Throughput using an NT4 SP6 P6/200 client connected at 100Mbits full
duplex to a P5/90 FreeBSD 3.3-RELEASE server also connected at 100Mbits
full duplex, network all switch, was about 400K/sec with 4K blocks and
900K/sec with 64K blocks using TESTNET 2.24 (old NetWare server benchmark).
mars_nwe v.0.99 pl17 clocks at the same speed with 4k blocks but does not
speed up with 64K blocks. (The server uses old 5 1/4" fast narrow diff
SCSI drives which benchmark in the 3-4MB/sec range using bonnie).

I'm going to try it vith 3.3-RELEASE SMP.

-----------Modified patch-ba-------------------------------------------
---	Mon Oct  4 09:03:55 1999
+++	Mon Oct  4 09:04:00 1999
@@ -1134,7 +1134,7 @@
   --whithout-krb5          Don't include Kerbers 5 support (default)],
 [   AC_MSG_RESULT(yes)
-    LIBS="$LIBS -ldes425 -lkrb5 -lcrypto -lcom_err"
+    LIBS="$LIBS -ldes425 -lkrb5 -lk5crypto -lcom_err"
     CFLAGS="$CFLAGS -I$withval/include"
     LDFLAGS="$LDFLAGS -L$withval/lib"],
------------Modified patch-bb------------------------------------------
--- configure.orig	Mon Oct  4 09:04:14 1999
+++ configure	Mon Oct  4 09:04:22 1999
@@ -9213,7 +9213,7 @@
 #define KRB5_AUTH 1
-    LIBS="$LIBS -ldes425 -lkrb5 -lcrypto -lcom_err"
+    LIBS="$LIBS -ldes425 -lkrb5 -lk5crypto -lcom_err"
     CFLAGS="$CFLAGS -I$withval/include"
     LDFLAGS="$LDFLAGS -L$withval/lib"

Mike Squires

More information about the samba mailing list