From f8daa3704a2b9578baa63a56dae8c09411cea882 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Wed, 9 Nov 2011 12:08:34 -0500 Subject: [PATCH] readme: moved signing instructions to Building from Source Signed-off-by: Casey Bodley --- README.html | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/README.html b/README.html index 1d2fc06..87cd865 100644 --- a/README.html +++ b/README.html @@ -49,7 +49,7 @@
  1. Open Windows Explorer and navigate to ms-nfs41-client\build.vc10.
  2. -
  3. Make a copy of env.props.example, and rename it to env.props. +
  4. Make a copy of env.props.example, and rename it to env.props.
  5. Open env.props in a text editor, and verify that the value in <WDKPATH>C:\WinDDK\7600.16385.0</WDKPATH> points to your WinDDK installation.
  6. Open the solution file ms-nfs41-client.sln in Visual Studio 2010.
  7. Select the desired configuration and platform (accessible via Build->Configuration Manager).
  8. @@ -60,23 +60,27 @@
  9. From the Start menu, open the WinDDK 'Checked Build Environment' for the target platform.
  10. Change directory to ms-nfs41-client and type build. All projects should build without errors.
+

Signing the driver

+
    +
  1. Open a WinDDK 'Checked Build Environment' as Administrator in this directory (right click and 'Run as administrator').
  2. +
  3. Create a certificate for test-signing the driver (Creating Test Certificates): +
    > makecert /pe /ss PrivateCertStore /n CN=nfs41_driver nfs41_driver.cer
  4. +
  5. Use the certificate to sign nfs41_driver.sys (Test-Signing a Driver File): +
    > signtool sign /v /s PrivateCertStore /n nfs41_driver /t http://timestamp.verisign.com/scripts/timestamp.dll path\to\nfs41_driver.sys
  6. +

2. Installing Binaries

Requirements

Instructions

  1. Copy or extract all ms-nfs41-client binaries and configuration files into a directory that's convenient for testing.
  2. -
  3. Open a WinDDK 'Checked Build Environment' as Administrator in this directory (right click and 'Run as administrator').
  4. -
  5. Create a certificate for test-signing the driver (Creating Test Certificates): -
    > makecert /pe /ss PrivateCertStore /n CN=nfs41_test nfs41_test.cer
  6. -
  7. Use the certificate to sign nfs41_driver.sys (Test-Signing a Driver File): -
    > signtool sign /v /s PrivateCertStore /n nfs41_test /t http://timestamp.verisign.com/scripts/timestamp.dll nfs41_driver.sys
  8. -
  9. Install the certificate to the 'Trusted Root Certificate Authorities' store: -
    > certmgr /add /c nfs41_test.cer /s /r localMachine root
  10. +
  11. Run vcredist_x*.exe to install the Visual C++ Redistributable Libraries.
  12. +
  13. Double-click on nfs41_driver.cer and select 'Install Certificate', then place it in the 'Trusted Root Certificate Authorities' store.
  14. +
  15. Open a command prompt as Administrator in this directory.
  16. Install the driver and update the registry:
    > install.bat
  17. Copy configuration files: @@ -102,11 +106,11 @@
    1. From a Windows command prompt, run nfsd.exe to start the nfs client daemon. Leave this running in the background until all mapped drives are unmounted.
      Usage: -
      > nfsd.exe -d <debug level> [--noldap]
    2. +
      > nfsd.exe -d <debug level> [--noldap]
      • <debug level> determines the log verbosity (1, 2, 3 or 0 to disable)
      • --noldap disables id mapping and uses a default uid=666 and gid=777
      • -
      +

    5. Mounting

    Instructions