pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


manual testing diff
Posted by Anonymous on Sat 22nd Nov 2025 21:19
raw | new post
modification of post by Anonymous (view diff)

  1. diff --git a/tests/manual_testing.txt b/tests/manual_testing.txt
  2. index 57c9013..234a796 100644
  3. --- a/tests/manual_testing.txt
  4. +++ b/tests/manual_testing.txt
  5. @@ -1,5 +1,5 @@
  6.  #
  7. -# ms-nfs41-client manual testing sequence, 2025-11-03
  8. +# ms-nfs41-client manual testing sequence, 2025-11-22
  9.  #
  10.  # Draft version, needs to be turned into automated tests
  11.  # if possible
  12. diff --git a/tests/nfs_server_setup.txt b/tests/nfs_server_setup.txt
  13. index d945ec7..cafdaeb 100644
  14. --- a/tests/nfs_server_setup.txt
  15. +++ b/tests/nfs_server_setup.txt
  16. @@ -85,6 +85,13 @@ service nfs-server restart
  17.  # Adminstrator PowerShell
  18.  Install-WindowsFeature -name Telnet-Client
  19.  
  20. +# make sure the time sync service is running and uses a valid ntp server:
  21. +sc config w32time start=auto
  22. +sc start w32time
  23. +w32tm /config /update /manualpeerlist:10.49.0.6
  24. +# wait 30sec and then verify the status:
  25. +w32tm /query /status
  26. +
  27.  Import-Module ServerManager
  28.  Add-WindowsFeature FS-NFS-Service
  29.  Import-Module NFS
  30. @@ -114,8 +121,8 @@ C:\cygwin64\sbin\nfs_mount -o rw N nfs://192.168.209.129//
  31.  #
  32.  
  33.  ##### 1. Server setup
  34. -# enable ntp server "10.49.0.5"
  35. -printf "server 10.49.0.5\n" >/etc/inet/ntp.conf
  36. +# enable ntp server "10.49.0.6"
  37. +printf "server 10.49.0.6\n" >'/etc/inet/ntp.conf'
  38.  svcadm enable ntp
  39.  
  40.  # configure&start NFS server
  41. @@ -156,8 +163,8 @@ See https://docs.oracle.com/en/operating-systems/solaris/oracle-solaris/11.4/man
  42.  #
  43.  
  44.  ##### 1. Server setup
  45. -# enable ntp server "10.49.0.5"
  46. -printf "server 10.49.0.5\n" >/etc/inet/ntp.conf
  47. +# enable ntp server "10.49.0.6"
  48. +printf "server 10.49.0.6\n" >'/etc/inet/ntp.conf'
  49.  svcadm enable ntp
  50.  svcadm restart ntp
  51.  
  52. @@ -205,6 +212,17 @@ See https://docs.oracle.com/en/operating-systems/solaris/oracle-solaris/11.4/man
  53.  
  54.  # Install FreeBSD (14.3) with NTP enabled
  55.  
  56. +# enable time server
  57. +-- snip --
  58. +printf 'server 10.49.0.6 prefer minpoll 5 maxpoll 8\nlogfile /var/log/ntp.log\nleapfile "/var/db/ntpd.leap-seconds.list"\n' >'/etc/ntp.conf'
  59. +sysrc ntpd_enable="YES"
  60. +sysrc ntpd_flags=""
  61. +sysrc ntpd_sync_on_start="YES"
  62. +-- snip --
  63. +
  64. +# Verify NTP config with
  65. +ntpq -np
  66. +
  67.  # configure NFSv4.2 server with idmapping enabled
  68.  sysrc rpcbind_enable="YES"
  69.  sysrc mountd_enable="YES"
  70. @@ -217,6 +235,7 @@ printf 'vfs.nfs.enable_uidtostring=0\n' >>'/etc/sysctl.conf'
  71.  printf 'vfs.nfsd.enable_stringtouid=0\n' >>'/etc/sysctl.conf'
  72.  printf 'vfs.nfsd.issue_delegations=1\n' >>'/etc/sysctl.conf'
  73.  
  74. +# configure an export
  75.  mkdir /nfsdata
  76.  chmod a+rwxt /nfsdata
  77.  
  78. @@ -226,7 +245,7 @@ printf 'V4: /\n' >'/etc/exports'
  79.  printf '/nfsdata -network=10.49.202.0 -mask=255.255.255.0  -sec=sys\n' >>'/etc/exports'
  80.  service nfsd start
  81.  
  82. -##### 2. ms-nfs41-client setup:
  83. +##### 2. FreeBSD-specific ms-nfs41-client setup:
  84.  - Normal setup
  85.  - Add groups entry for group "wheel" if neccesary:
  86.  $ printf 'wheel:S-1-0-0:0:\n' >>'/etc/group'

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at