diff --git a/README.html b/README.html
index 1d2fc06..87cd865 100644
--- a/README.html
+++ b/README.html
@@ -49,7 +49,7 @@
- WinDDK does not include the ldap library, so we build the rpc library and nfs client daemon with Visual Studio 2010.
- Open Windows Explorer and navigate to ms-nfs41-client\build.vc10.
- - Make a copy of env.props.example, and rename it to env.props.
+
- Make a copy of env.props.example, and rename it to env.props.
- 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.
- Open the solution file ms-nfs41-client.sln in Visual Studio 2010.
- Select the desired configuration and platform (accessible via Build->Configuration Manager).
@@ -60,23 +60,27 @@
- From the Start menu, open the WinDDK 'Checked Build Environment' for the target platform.
- Change directory to ms-nfs41-client and type
build. All projects should build without errors.
+Signing the driver
+
+ - Open a WinDDK 'Checked Build Environment' as Administrator in this directory (right click and 'Run as administrator').
+ - Create a certificate for test-signing the driver (Creating Test Certificates):
+
> makecert /pe /ss PrivateCertStore /n CN=nfs41_driver nfs41_driver.cer
+ - 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
+
Requirements
- ms-nfs41-client binaries: nfs41_driver.sys, nfs41_np.dll, libtirpc.dll, nfs_install.exe, nfsd.exe, nfs_mount.exe
- - ms-nfs41-client configuration files: nfs41rdr.inf, install.bat, uninstall.bat, etc_netconfig, ms-nfs41-idmap.conf
+ - ms-nfs41-client configuration files: nfs41_driver.cer, nfs41rdr.inf, install.bat, uninstall.bat, etc_netconfig, ms-nfs41-idmap.conf
- Microsoft Visual Studio 2010, or Microsoft Visual C++ 2010 Redistributable Libraries (x86 or x64). An installer for the redistributable libraries are included with binary releases.
Instructions
- Copy or extract all ms-nfs41-client binaries and configuration files into a directory that's convenient for testing.
- - Open a WinDDK 'Checked Build Environment' as Administrator in this directory (right click and 'Run as administrator').
- - Create a certificate for test-signing the driver (Creating Test Certificates):
-
> makecert /pe /ss PrivateCertStore /n CN=nfs41_test nfs41_test.cer
- - 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
- - Install the certificate to the 'Trusted Root Certificate Authorities' store:
-
> certmgr /add /c nfs41_test.cer /s /r localMachine root
+ - Run vcredist_x*.exe to install the Visual C++ Redistributable Libraries.
+ - Double-click on nfs41_driver.cer and select 'Install Certificate', then place it in the 'Trusted Root Certificate Authorities' store.
+ - Open a command prompt as Administrator in this directory.
- Install the driver and update the registry:
> install.bat
- Copy configuration files:
@@ -102,11 +106,11 @@
- 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]
+
> 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
-
+
Instructions