[OpenAFS-devel] Windows 2000 AFS Server config failing...

James Peterson jimpeter@us.ibm.com
Tue, 18 Sep 2001 12:58:01 -0700


The problem with running the AFS Configuration Wizard for Windows 2000/NT:
>  "AFS client in this computer is not compatible with the AFS server. AFS
server requires
>  at least version 3.5 of AFS client."

The following patch should fix this problem.

diff -Nur --exclude-from=exclude org/afscfg.cpp upd/afscfg.cpp
--- org/afscfg.cpp  Sat Nov  4 01:01:48 2000
+++ upd/afscfg.cpp  Mon Sep 17 18:06:54 2001
@@ -180,16 +180,6 @@
          return 0;
     }

-    // Check the version of the client.  It must be at least 35.
-    if (g_CfgData.nClientVersion < 35) {
-        int nMajor, nMinor;
-        nMajor = g_CfgData.nClientVersion / 10;
-        nMinor = g_CfgData.nClientVersion - (nMajor * 10);
-        g_LogFile.Write("The version of the AFS Client on this machine
(%d.%d) is too old to run the server.  The Client must be at least version
3.5.\r\n", nMajor, nMinor);
-         ErrorDialog(0, IDS_ERROR_CLIENT_VERSION);
-        return 0;
-    }
-
     // Run the appropriate interface
     if ((strstr(_strlwr(pszCmdLineA), "wizard") != 0))
          RunWizard();




P.S.  I'm working on the binary for Windows 2000/NT 1.2.0a that will
include this patch.

James Peterson
"Integrity is the base of excellence."