Index: openafs/doc/txt/winnotes/afs-changes-since-1.2.txt
diff -c openafs/doc/txt/winnotes/afs-changes-since-1.2.txt:1.13.2.26 openafs/doc/txt/winnotes/afs-changes-since-1.2.txt:1.13.2.30
*** openafs/doc/txt/winnotes/afs-changes-since-1.2.txt:1.13.2.26	Wed Apr 27 11:28:49 2005
--- openafs/doc/txt/winnotes/afs-changes-since-1.2.txt	Mon May 30 00:13:42 2005
***************
*** 1,3 ****
--- 1,71 ----
+ Since 1.3.82:
+  * The OpenAFS integrated logon obtains Kerberos 5 tickets as part of 
+    the process of producing AFS tokens.  The tokens are stored within
+    the AFS Client Service but the Kerberos 5 tickets have been discarded.
+    New functionality has been added to temporarily copy the tickets to
+    a file ccache during the short window between the NPLogonNotify and
+    WinLogon Logon Event.  The Logon Event handler starts a process as
+    user, afscpcc.exe, that copies the tickets into the default ccache.
+    The file ccache is then destroyed by the event handler.
+ 
+  * During synchronization operations on stat cache entries, if threads
+    are forced to sleep it was possible that the threads would not be
+    woken under heavy load.
+ 
+  * Enforce the delete on close flag specified by the NTCreateX()
+    operation.
+ 
+  * A race condition in the rx library was fixed that resulted in 
+    a deadlock in rx_NewCall when the RX_CONN_MAKECALL_WAITING flag
+    was cleared when threads were still waiting to use the 
+    connection.   Also, fixed a potential case in which the 
+    connection could be destroyed while threads were waiting to use it.
+ 
+  * The DNLC freelist has been seen to become corrupted with still 
+    active entries being stored on the freelist.  Changes were made
+    to perform a better job of cleaning entries before placing them
+    onto the freelist; marking them with the correct magic value when
+    purging the list; and allowing the list to be purged on startup
+    if the cache validation fails.
+ 
+  * Windows Crash Reporting does not get triggered for afsd_service.exe
+    because it provides its own top level exception handler.  This patch 
+    places an explicit call to ReportCrash() on platforms which support 
+    it.  (XP and above.)
+ 
+    If you configure Crash Reporting via AD Policy to capture crash
+    reports within the domain, then you will receive this output.
+ 
+  * Generate MiniDumps independent of the Windows Crash Reporting.
+  
+    (a) If an exception occurs,a minidump will be generated at the path
+        %TEMP%\afsd.dmp. The type of minidump defaults to Normal but 
+        can be set to any other type via use of the
+        registry.      
+ 
+        [HKLM\SOFTWARE\OpenAFS\Client]  MiniDumpType (DWORD)
+ 
+    (b) MiniDumps can be generated at any time using the "fs minidump"
+        command.   This allows you to generate a minidump without 
+        stopping the process or even requiring the use of a debugger
+        on the system.
+ 
+   * an RX connection which reports bad ticket now treats it the same way
+     the expired ticket is treated.   The ticket is removed from the 
+     connection and a new anonymous connection is established.
+ 
+   * fs memdump now requires that the caller be in the AFS Client Admins
+     group
+ 
+   * additional debugging information is provided in cm_Analyze when the
+     error code is ignored.
+ 
+   * Fix a regression introduced into the pioctl() client code which
+     will cause a crash in winlogon.exe, explorer.exe and fs.exe if
+     MIT KFW is not installed. (1.3.82a)
+ 
+   * Remove AFS Gateway option from OpenAFS Control Panel (1.3.82a)
+ 
  Since 1.3.81:
    * Fix a race condition in cm_EndCallbackGrantingCall() that 
      could leave 'nrevp' pointing to freed memory.  In the process,
Index: openafs/doc/txt/winnotes/afs-install-notes.txt
diff -c openafs/doc/txt/winnotes/afs-install-notes.txt:1.11.2.18 openafs/doc/txt/winnotes/afs-install-notes.txt:1.11.2.21
*** openafs/doc/txt/winnotes/afs-install-notes.txt:1.11.2.18	Wed Apr 27 11:28:49 2005
--- openafs/doc/txt/winnotes/afs-install-notes.txt	Mon May 30 00:13:42 2005
***************
*** 1,4 ****
! OpenAFS for Windows 1.3.82 Installation Notes
  ---------------------------------------------
  
  The OpenAFS for Windows product was very poorly maintained throughout the 
--- 1,4 ----
! OpenAFS for Windows 1.3.8300 Installation Notes
  ---------------------------------------------
  
  The OpenAFS for Windows product was very poorly maintained throughout the 
***************
*** 584,589 ****
--- 584,603 ----
     HKLM "SOFTWARE\Microsoft\RPC\ClientProtocols" "ncacn_ip_tcp"
     HKLM "SOFTWARE\Microsoft\RPC\ClientProtocols" "ncadg_ip_udp"
  
+ 
+ 41. Starting in 1.3.83, when Integrated Logon is used in conjunction
+ with KFW, the Kerberos 5 tickets obtained during the process of 
+ generating AFS tokens are preserved and stored into the default
+ ccache within the user logon session.
+ 
+ 
+ 42. 1.3.83 adds a new command, "fs minidump".  This command can 
+ be used at any time to generate a mini dump file containing the
+ current stack of the afsd_service.exe process.   This output can
+ be very helpful when debugging the AFS Client Service when it is
+ unresponsive to SMB/CIFS requests.
+ 
+ 
  ------------------------------------------------------------------------
  
  Reporting Bugs:
***************
*** 591,600 ****
  Bug reports should be sent to openafs-bugs@openafs.org.  Please include as 
  much information as possible about the issue.  If you are reporting a crash, 
  please install the debugging symbols by re-running the installer.  If a dump 
! file is available for the problem include it along with the AFS Client Trace 
! file  %WINDIR%\TEMP\afsd.log.  The AFS Client startup log is 
! %WINDIR%\TEMP\afsd_init.log.  Send the last continuous block of log 
! information from this file.
  
  Configuring DrWatson to generate dump files for crashes:
  
--- 605,614 ----
  Bug reports should be sent to openafs-bugs@openafs.org.  Please include as 
  much information as possible about the issue.  If you are reporting a crash, 
  please install the debugging symbols by re-running the installer.  If a dump 
! file is available for the problem, %WINDIR%\TEMP\afsd.dmp, include it along 
! with the AFS Client Trace file  %WINDIR%\TEMP\afsd.log.  The AFS Client 
! startup log is %WINDIR%\TEMP\afsd_init.log.  Send the last continuous block 
! of log information from this file.
  
  Configuring DrWatson to generate dump files for crashes:
  
Index: openafs/doc/txt/winnotes/msi-deployment-guide.txt
diff -c openafs/doc/txt/winnotes/msi-deployment-guide.txt:1.2.2.4 openafs/doc/txt/winnotes/msi-deployment-guide.txt:1.2.2.5
*** openafs/doc/txt/winnotes/msi-deployment-guide.txt:1.2.2.4	Mon Apr  4 07:51:53 2005
--- openafs/doc/txt/winnotes/msi-deployment-guide.txt	Wed May 18 18:57:01 2005
***************
*** 85,91 ****
         
         (edit the openafs-modified.msi to include the necessary changes)
  
!        > msitran -g openafs-modified.msi openafs.msi openafs-transform.mst
  
         (generates openafs-transform.mst, which is the transform)
  
--- 85,91 ----
         
         (edit the openafs-modified.msi to include the necessary changes)
  
!        > msitran -g openafs.msi openafs-modified.msi openafs-transform.mst
  
         (generates openafs-transform.mst, which is the transform)
  
***************
*** 687,693 ****
      MSI package is 'openafs-en_US.msi'.  Generates transform
      'openafs-transform.mst')
  
!     > msitran.exe -g openafs-en_US.msi openafs-en_US_new.msi openafs-transform.mst glpruw
  
      See the Platform SDK documentation for information on command line
      options for MSITRAN.EXE.
--- 687,693 ----
      MSI package is 'openafs-en_US.msi'.  Generates transform
      'openafs-transform.mst')
  
!     > msitran.exe -g openafs-en_US.msi openafs-en_US_new.msi openafs-transform.mst
  
      See the Platform SDK documentation for information on command line
      options for MSITRAN.EXE.
***************
*** 736,739 ****
      (Q/A's will be added here as needed)
  
  ----------------------------------------------------------------------
! $Id: msi-deployment-guide.txt,v 1.2.2.4 2005/04/04 11:51:53 jaltman Exp $
--- 736,739 ----
      (Q/A's will be added here as needed)
  
  ----------------------------------------------------------------------
! $Id: msi-deployment-guide.txt,v 1.2.2.5 2005/05/18 22:57:01 jaltman Exp $
Index: openafs/doc/txt/winnotes/registry.txt
diff -c openafs/doc/txt/winnotes/registry.txt:1.18.2.8 openafs/doc/txt/winnotes/registry.txt:1.18.2.9
*** openafs/doc/txt/winnotes/registry.txt:1.18.2.8	Fri Mar 11 01:58:34 2005
--- openafs/doc/txt/winnotes/registry.txt	Wed May 18 18:57:01 2005
***************
*** 405,410 ****
--- 405,440 ----
    pioctl() call is failing. 
  
  
+ Value   : MiniDumpType
+ Type    : REG_DWORD
+ Default : 0x0 (MiniDumpNormal)
+ 
+   This value is used to specify the type of minidump generated by
+   afsd_service.exe either when the process crashes or when a user
+   initiated is dump file is generated with the "fs.exe minidump"
+   command.
+ 
+   Valid values are dependent on the version of DbgHelp.dll installed
+   on the machine.  See the Microsoft Developer Library for further
+   information.
+ 
+   MiniDumpNormal = 0x00000000,
+   MiniDumpWithDataSegs = 0x00000001,
+   MiniDumpWithFullMemory = 0x00000002,
+   MiniDumpWithHandleData = 0x00000004,
+   MiniDumpFilterMemory = 0x00000008,
+   MiniDumpScanMemory = 0x00000010,
+   MiniDumpWithUnloadedModules = 0x00000020,
+   MiniDumpWithIndirectlyReferencedMemory = 0x00000040,
+   MiniDumpFilterModulePaths = 0x00000080,
+   MiniDumpWithProcessThreadData = 0x00000100,
+   MiniDumpWithPrivateReadWriteMemory = 0x00000200,
+   MiniDumpWithoutOptionalData = 0x00000400,
+   MiniDumpWithFullMemoryInfo = 0x00000800,
+   MiniDumpWithThreadInfo = 0x00001000,
+   MiniDumpWithCodeSegs = 0x00002000
+ 
+ 
  Value   : StoreAnsiFilenames
  Type    : REG_DWORD
  Default : 0x0
***************
*** 814,819 ****
--- 844,860 ----
    user value is checked first; if it does not exist the local machine
    value is checked.
  
+   The following subset of the command line options are appropriate for
+   use in this registry setting:
+ 
+     -A = autoinit 
+     -M = renew drive maps 
+     -N = ip address change detection 
+     -Q = quiet mode.  do not display start service dialog
+          if afsd_service is not already running
+     -S = show tokens dialog on startup
+     -Z = unmap drives
+ 
  
  Regkey:
  [HKCU\SOFTWARE\OpenAFS\Client]
