Since there is no API call to manage CIFS shares in that manner, OCSM must use the "system cli" API and run a command as if it were on the controller CLI.
It appears something changed although it is not yet clear if that was ONTAP or OCSM - the investigation continues.
When there is a likely cause identified a bug will be filed on the appropriate product and I will post it here.
Thanks,
Kevin