Samba for newbie - no connection
Good afternoon,
.
My network knowledge is very thin and my English language very bad. I'm on Ubuntu 19.10. on a Lenovo X 201 (INDE) usually in WiFi. I would like to install Ubuntu on my desktop computer (called JR (W 10)) which is wired on the Bouygues box (Sagem Fast5330b-r1)). Before that I want to be sure that will be able to authorize my wife's computer (ELLE (W 10) wired on the Bouygues box too) to access some of my files on JR. Thus I am proceeding to some tests.
.
Our workgroup name is WE.
.
On the Windows computer in SMB 1.0 / CIFS file sharing support I have three lines, the first two being checked (SMB server, SMB client already is - Automatic removal of SMB 1.0 / CFIS is unchecked).
.
On INDE I do:
=======
.
testparm> testparm2020041145
sudo service smbd restart then sudo service nmbd restart (is the latter useful?)
systemctl status smbd nmbd> systemctl2020041149
.
Via ps -aux I see started by root
.
...usrsbin / smbd –foreground –no-process-group
...usrsbin / smbd –foreground –no-process-group
.
In the file explorer I click Other locations. - On this computer - there is Computer and Network. In Networks I see INDE (where print $ (???) is located) and Windows Network. I click on Windows Network and...
...When click on WE: Unable to access the location (Obtaining the list of shares from the server failed: the network broke the connection during the reset)
.
...When I click on WORKGROUP there is BBOX and FM (a small Asus in Wifi which is used to listen to the radio in the kitchen (you will know everything))
=====
In the explorer of JR, in the network there is ELLE, INDE, BBOX, JR, FM.
1:24 p.m.
====
After lunch. I just went back to the file explorer of INDE where Windows Network is now empty. Magic. INDE is always on the network when I browse it on JR.
.
Whatever the moment when I ask smbclient -L 192.168.1.35 (address of JR) he answers:
Unable to initialize messaging context
protocol negociation failes: NT_STATUS_CONNECTION_RESET
Can you please give me an idea ? Thanks a lot.
============== Testparm result
# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = / usr / share / samba / panic-action% d
passwd chat = * Enter \ snew \ s * \ spassword: *% n \ n * Retype \ snew \ s * \ spassword: *% n \ n * password \ supdated \ ssuccessfully *.
passwd program = / usr / bin / passwd% u
server role = standalone server
server string = INDE
unix password sync = Yes
usershare allow guests = Yes
workgroup = WE
idmap config *: backend = tdb
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = / var / spool / samba
printable = Yes
[print $]
comment = Printer Drivers
path = / var / lib / samba / printers
|