Elliott
Dabbler
- Joined
- Sep 13, 2019
- Messages
- 40
Is this a bug or do I have the syntax wrong? I'm trying to create an SMB share using the API with FreeNAS 11.2 U6. Here is the curl command with error message:
Code:
$ curl -w "\n" http://localhost:9999/api/v1.0/sharing/cifs/ --user root -H "Content-Type: application/json" -d '{"cifs_name": "mordor","cifs_path": "/mnt/pool/mordor/"}' Enter host password for user 'root': {"cifs_vfsobjects": ["Select a valid choice. zfs_space,zfsacl,streams_xattr is not one of the available choices."]}