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

convert smbstatus json output for current sessions into an array

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SMB
    • Labels:
      None

      Description

      smbstatus -p -j adds json objects for each session rather than creating an array, this was originally done as a way to perform faster lookups of particular sessions based on pid. Based on how this is actually used, it's better to convert this into a simple JSON array and add the session_id to the objects in the array.

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  awalker Andrew Walker
                  Reporter:
                  awalker Andrew Walker
                  Watchers:
                  Andrew Walker
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: