When I use plain-jane filenames in smb.conf, all works fine. But if I include any kind of special characters (spaces, brackets, etc) it all goes wrong. Spaces and brackets are handled fine by the samba parsing code, and display correctly in the mmc utility, but the sh scripts it calls can't handle the spaces/brackets at all, and my error log indicates that quite clearly (lots of not found errors with half the service names shown).
So thats it really, the svcctl code seems to be fine, its just the shell scripting bits that are struggling.
Created attachment 2506