I wrote this Add a new tab to enable/disable useshares and control them with something like this https://fedoraproject.org/wiki/SystemConfig/samba/review#User_shares