Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109613

API tests for SMB on SCALE use deprecated parameters

    XMLWordPrintable

    Details

      Description

      @pytest.mark.dependency(name="smb_001")
      def test_001_setting_auxilary_parameters_for_mount_smbfs(request):
          depends(request, ["shareuser"], scope="session")
          toload = "lanman auth = yes\nntlm auth = yes \nraw NTLMv2 auth = yes"
          payload = {
              "smb_options": toload,
              "enable_smb1": True,
              "guest": "shareuser"
          }
          results = PUT("/smb/", payload)
          assert results.status_code == 200, results.text

      test48# testparm -s
      Load smb config files from /etc/smb4.conf
      lpcfg_do_global_parameter: WARNING: The "lanman auth" option is deprecated
      lpcfg_do_global_parameter: WARNING: The "raw NTLMv2 auth" option is deprecated

      We should evaluate whether these parameters are needed for current battery of tests run against TrueNAS SCALE (and perhaps alter if they for some reason are).

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                eturgeon Eric Turgeon
                Reporter:
                awalker Andrew Walker
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: