Goal
Make REST share CRUD actually drive Samba — the analog of the NFS export wiring.
Scope
Dependencies
#61, #62.
Acceptance
- Create a share via REST →
smbclient //host/share lists/reads/writes it; delete
via REST → share gone. ACL changes take effect on reload.
Goal
Make REST share CRUD actually drive Samba — the analog of the NFS export wiring.
Scope
protocols/cifs/sharesCRUD → regeneratesmb.conf+ reload smbd(idempotent, like the NFS export path; never tear a live share on a no-op).
srv_root(the same tree the NFS plane serves) so avolume can be exported over both protocols (multiprotocol, ONTAP-faithful).
(oplocks /
read only/browsable) mapped tosmb.conf.protocols/cifs/sessionsreads live sessions from Samba.Dependencies
#61, #62.
Acceptance
smbclient //host/sharelists/reads/writes it; deletevia REST → share gone. ACL changes take effect on reload.