Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-107213

SMB Service Save - TypeError occurs

    XMLWordPrintable

    Details

      JEditor

        Description

        When saving my SMB service settings I get the following - even when I make no changes to the current config.
        Error: Traceback (most recent call last):
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
        result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1191, in _call
        return await methodobj(*prepared_call.args)
        File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 356, in update
        rv = await self.middleware._call(
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1191, in _call
        return await methodobj(*prepared_call.args)
        File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
        return await f(*args, **kwargs)
        File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/smb.py", line 596, in do_update
        await self.validate_smb(new, verrors)
        File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/smb.py", line 520, in validate_smb
        if not await self.__validate_netbios_name(new[i]):
        File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/smb.py", line 229, in __validate_netbios_name
        return RE_NETBIOSNAME.match(name)
        TypeError: expected string or bytes-like object

          Attachments

            Attachments

              Activity

                People

                Assignee:
                awalker Andrew Walker
                Reporter:
                jwharmby John Wharmby
                Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: