V
V
VA2020-03-13 15:36:53
System administration
VA, 2020-03-13 15:36:53

How to set up Samba under Ubuntu Server, for Windows clients?

Hi all!
I want to connect a network drive
to a server that will store Ubuntu 18-04 files (ip: 58.4.192.238), it is remote, not on the same network as clients.

Installed with this config.

smb.conf

[global]
workgroup = WORKGROUP
security = user
map to guest = bad user
wins support = no
dns proxy = no

[public]
path = /samba/public
guest ok = yes
force user = nobody
browsable = yes
writable = yes

[private]
path = /samba/private
valid users = @smbgrp
guest ok = no
browsable = yes
writable = yes



I connect from client machines to the server (I connect a network drive and enter my login and password, and writes like this
5e6b7d7b80170654216045.jpeg

[2020/03/13 13:27:44.708402,  0] ../source3/nmbd/nmbd_become_lmb.c:533(become_local_master_browser)
  become_local_master_browser: Error - cannot find server UBUNTU-1804-BIONIC-64-MINIMAL in workgroup WORKGROUP on subnet 58.4.192.238


restarted the service, added local users to the smbgrp group, set passwords

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
evgen-kucher, 2020-03-24
@evgen-kucher

Do you have the client and server on the same network?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question