On Sun, Jan 24, 2016 at 08:21:56PM +0100, Joey wrote:
I dont use samba since a few of year but i dont remember to a command like "samba"
You will have various services that need to be started.
If it's CentOS-7x then it's somewhere in systemd, I've forgotten where they put all possible files. Ah, look in /lib/systemd/system. Samba probably installed smbd and winbind.
The quickest thing to do is google samba centos-<version> as there are plenty of good guides to set it up.
TL;DR
The command isn't samba. The samba daemon is smbd, but you've given little information and there's a bit more to getting it running, though it's fairly easy, so google it for your version of CentOS, as it's changed between 6 and 7.