I need some help regarding Samba in Ubuntu (Where Ubuntu is installed in VMWare Workstation 8). I followed a video tutorial. Here are the things I did:
- First, I installed Samba using this:
sudo apt-get install samba smbfs
cd /etc/samba
- I then proceeded to creating a backup of the smb.conf
cp smb.conf smb.conf.bak
Vi smb.conf
- Uncomment the
security line: security = user
- Retain and uncomment the
workgroup = WORKGROUP
as well as theserver string = %h server (Samba, Ubuntu)
. - I added
hosts allow = xxx.xxx.xxx.xxx
(IP of my Linux) - I created a user using
smbpasswd -a username
and set a password for it. - Using
testparm
and enter, I saw the service definitions like [global], [printers], [smbdemo] 10.I triedservice smb restart
but it says No command 'service' found, did you mean: Command 'service' from package 'sysvinit-utils' (main) service: command not found but when I triedsudo restart smbd
I got smbd start/running, process 3602 so I assumed that the Samba already restarted. - So I proceeded to my Windows Network and typed the IP of my Ubuntu installed in VMWare and the username with this pattern: \ip.ip.ip.ip\username but it cannot be connected.
I want to know if I missed a couple of steps or if I did something wrong. I would also like to know, how do I make sure that the Samba already restarted? Hope you could help me. Thanks!!