Isn't samba installed by default in Ubuntu? Not sure about Kubuntu, I've never used it.
You may need to edit /etc/samba/smb.conf to get it to work how you want it to. Then you can pull a "/etc/init.d/samba restart" to get the changes to take effect. All of this as root, of course.