Can run on the same server
Alfresco and Samba ?
Well - technically yes, as long as you configure ports properly to ensure there is no conflict. The only problem is that since clients expect certain ports to be used for the SMB protocol, you have to force the clients to use different ports depending on with which service the connection should be established. That reduces the user-friendliness quite a bit.
I'd recommend to separate the services.
Retrieving data ...