system-config-samba not opening in Ubuntu 14.10. & 15.04

Solution 1:

In Ubuntu 15.04, system-config-samba fails unless you launch it with superuser privileges (gksu system-config-samba). I was subsequently able to launch system-config-samba from the Unity dash once I had logged out and logged back in after I configured samba for the first time using gksu.

I also got the following error message the first time:

SystemError: could not open configuration file `/etc/libuser.conf': No such file or directory

I resolved this by creating an empty text file 'libuser.conf' in /etc:

sudo touch /etc/libuser.conf

Solution 2:

system-config-samba has a confirmed bug here you may wish to subscribe to it (recommended). An alternative would be to try smb4k available in the software center. More alternative Samba GUI's are discussed here