When using such “sophisticated” features like samba, I recommend first to master them on full-blown LINUX, before porting to openwrt. Will save you some hassles.