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

Use correct defaults for CIFS share in APIv1

    XMLWordPrintable

    Details

      Description

      Hi,

      I am attempting to use the API to create a SMB/CIFS share via the documentation shown at:

      https://api.freenas.org/resources/sharing.html#cifs 

      I am submitting the values as:

      "cifs_name" => testuser,
      "cifs_path" => "/mnt/Pool/testuser");

      The response I get back from FreeNAS is:

      ["cifs_vfsobjects"]=> array(1) { [0]=> string(90) "Select a valid choice. zfs_space,zfsacl,streams_xattr is not one of the available choices." )

      If I create the share with the same values for the name and the path via the WebUI it accepts it. cifs_vfsobjects is not documented in the aforementioned documentation link I cited.

      Please advise!

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                waqar Waqar Ahmed
                Reporter:
                zct Drew W
                Watchers:
                Bug Clerk, Drew W, Roger Hayter
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: