Unable to map a network drive on my PC to a shared directory on my LINUX server
Rowland Penny
repenny241155 at gmail.com
Sat Dec 12 10:06:36 UTC 2015
On 12/12/15 00:53, Kenneth Watanabe wrote:
> To samba technical support,
>
> I installed samba on my LINUX server.
>
> Below is a copy of my /etc/samba/smb.conf file
>
> [global]
>
> workgroup = WORKGROUP
>
> netbios name = SAMBA
>
> server string = Samba Server Version %v
>
> map to guest = Bad User
>
> log file = /var/log/samba/log.%m
>
> max log size = 50
>
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>
> preferred master = No
>
> local master = No
>
> dns proxy = No
>
> security = User
>
> [share]
>
> path = /home/kwatanabe/share
>
> valid users = kwatanabe
>
> read only = No
>
>
>
> I typed the following command to ensure the smb.conf file had no errors
>
> root# testparm
>
>
> The testparm command completed successfully with no errors.
>
> Then I added a samba user via the following command:
>
> root# smbpasswd -a kwatanabe
>
>
> Then I restarted samba with the following command
>
> root# service smb restart
>
>
> I clicked on the map network drive icon in windows explorer and entered
> "\\131.216.46.60\share". The following message appeared for several minutes:
>
You seem to be trying to share something inside your home directory, I
wouldn't do this, I also wouldn't call the share 'share', try another
name such as 'data' and move the share to somewhere else, /home/data for
instance.
Do you have the smbd, nmbd and windbind deamons running?
Are you trying to connect as the user 'kwatanabe' ? because even though
you have setup guest access in [global], you are denying guest access to
the share 'valid users = kwatanabe'
Rowland
More information about the samba-technical
mailing list