Fixed samba dependency and related preconditions