<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Index: src/WINNT/afsd/smb.c
===================================================================
RCS file: /cvs/openafs/src/WINNT/afsd/smb.c,v
retrieving revision 1.55.2.16
retrieving revision 1.55.2.17
diff -u -r1.55.2.16 -r1.55.2.17
--- src/WINNT/afsd/smb.c	21 Mar 2005 16:28:33 -0000	1.55.2.16
+++ src/WINNT/afsd/smb.c	22 Mar 2005 05:43:12 -0000	1.55.2.17
@@ -1841,7 +1841,8 @@
     tbp = GetPacket();
     memcpy(tbp, pkt, sizeof(smb_packet_t));
     tbp-&gt;wctp = tbp-&gt;data + ((unsigned int)pkt-&gt;wctp - (unsigned int)pkt-&gt;data);
-    smb_HoldVC(tbp-&gt;vcp);
+	if (tbp-&gt;vcp)
+		smb_HoldVC(tbp-&gt;vcp);
     return tbp;
 }
 
@@ -8090,18 +8091,23 @@
                 smb_lsaLogonOrigin.MaximumLength = smb_lsaLogonOrigin.Length + 1;
             } else {
                 afsi_log("Can't determine security package name for NTLM!! NTSTATUS=[%l]",nts);
+
+                /* something went wrong. We report the error and revert back to no authentication
+                because we can't perform any auth requests without a successful lsa handle
+                or sec package id. */
+                afsi_log("Reverting to NO SMB AUTH");
+                smb_authType = SMB_AUTH_NONE;
             }
         } else {
             afsi_log("Can't register logon process!! NTSTATUS=[%l]",nts);
-        }
 
-        if (nts != STATUS_SUCCESS) {
             /* something went wrong. We report the error and revert back to no authentication
             because we can't perform any auth requests without a successful lsa handle
             or sec package id. */
             afsi_log("Reverting to NO SMB AUTH");
             smb_authType = SMB_AUTH_NONE;
-        } 
+        }
+
 #ifdef COMMENT
         /* Don't fallback to SMB_AUTH_NTLM.  Apparently, allowing SPNEGO to be used each
          * time prevents the failure of authentication when logged into Windows with an
Index: src/config/NTMakefile.amd64_w2k
===================================================================
RCS file: /cvs/openafs/src/config/NTMakefile.amd64_w2k,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- src/config/NTMakefile.amd64_w2k	11 Mar 2005 07:23:25 -0000	1.1.2.1
+++ src/config/NTMakefile.amd64_w2k	22 Mar 2005 05:44:03 -0000	1.1.2.2
@@ -80,7 +80,7 @@
 #define used in WinNT/2000 installation and program version display
 AFSPRODUCT_VER_MAJOR=1
 AFSPRODUCT_VER_MINOR=3
-AFSPRODUCT_VER_PATCH=8000
+AFSPRODUCT_VER_PATCH=8001
 AFSPRODUCT_VER_BUILD=0
 
 # For MSI installer, each major release should have a different GUID
Index: src/config/NTMakefile.i386_nt40
===================================================================
RCS file: /cvs/openafs/src/config/NTMakefile.i386_nt40,v
retrieving revision 1.46.2.16
retrieving revision 1.46.2.17
diff -u -r1.46.2.16 -r1.46.2.17
--- src/config/NTMakefile.i386_nt40	11 Mar 2005 07:03:20 -0000	1.46.2.16
+++ src/config/NTMakefile.i386_nt40	22 Mar 2005 05:44:03 -0000	1.46.2.17
@@ -80,7 +80,7 @@
 #define used in WinNT/2000 installation and program version display
 AFSPRODUCT_VER_MAJOR=1
 AFSPRODUCT_VER_MINOR=3
-AFSPRODUCT_VER_PATCH=8000
+AFSPRODUCT_VER_PATCH=8001
 AFSPRODUCT_VER_BUILD=0
 
 # For MSI installer, each major release should have a different GUID
Index: src/config/NTMakefile.i386_w2k
===================================================================
RCS file: /cvs/openafs/src/config/NTMakefile.i386_w2k,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- src/config/NTMakefile.i386_w2k	11 Mar 2005 07:23:25 -0000	1.1.2.1
+++ src/config/NTMakefile.i386_w2k	22 Mar 2005 05:44:03 -0000	1.1.2.2
@@ -80,7 +80,7 @@
 #define used in WinNT/2000 installation and program version display
 AFSPRODUCT_VER_MAJOR=1
 AFSPRODUCT_VER_MINOR=3
-AFSPRODUCT_VER_PATCH=8000
+AFSPRODUCT_VER_PATCH=8001
 AFSPRODUCT_VER_BUILD=0
 
 # For MSI installer, each major release should have a different GUID
</pre></body></html>