LAN File Sharing on AVLinux MX Edition

Help on all MX Re-spins
Message
Author
siabost9deas
Posts: 10
Joined: Thu Mar 09, 2023 10:27 am

Re: LAN File Sharing on AVLinux MX Edition

#21 Post by siabost9deas »

@FullScale4Me,

A similar warning to

Code: Select all

smbtree

Code: Select all

kenny@HP-Music-PC:~
$ smbclient -L localhost
Enter WORKGROUP\kenny's password: 

	Sharename       Type      Comment
	---------       ----      -------
	print$          Disk      Printer Drivers
	IPC$            IPC       IPC Service (Samba 4.13.13-Debian)
	kenny           Disk      Home Directories
	Music-Share     Disk      
	Public-share    Disk      
	Public          Disk      
Reconnecting with SMB1 for workgroup listing.
smbXcli_negprot_smb1_done: No compatible protocol selected by server.
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
Unable to connect with SMB1 -- no workgroup available

User avatar
FullScale4Me
Posts: 1007
Joined: Fri Jan 08, 2021 11:30 pm

Re: LAN File Sharing on AVLinux MX Edition

#22 Post by FullScale4Me »

I noticed in your previous post in this thread that you had two Ubuntu PCs.

I just did some testing (with smbclient) in Virtual Box with Ubuntu 22.10 (desktop ed). If the login account has NOT been added to the SMB id database AND a SMB password set it will throw an error rather than list shares, even in a local context --- '....NT_STATUS_IO_TIMEOUT...' stands out.

Extraneous technobabble only a programmer could love deleted from the error message (the leading ... and trailing ...). Yeah, 'old school' editing form, what I was taught in the mid-'60s!
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

User avatar
CharlesV
Global Moderator
Posts: 7059
Joined: Sun Jul 07, 2019 5:11 pm

Re: LAN File Sharing on AVLinux MX Edition

#23 Post by CharlesV »

siabost9deas wrote: Sun Mar 12, 2023 6:41 pm @CharlesV

Code: Select all

smbtree
on one of the AVLinux seems to reveal an error, if I read it correctly ('No compatible protocol selected by server')?

Code: Select all

 AV Linux MX Edition
kenny@HP-Music-PC:~
$ smbtree
Enter WORKGROUP\kenny's password: 
WORKGROUP
	\\               		Kenny-Main-Laptop server (Samba, Ubuntu)
		\\\               	Kenny-Main-Laptop server (Samba, Ubuntu)
		\\\DLINK-SHARE    	DNS-320L
		\\\HP-MUSIC-PC    	Samba 4.13.13-Debian
	\\DLINK-SHARE    		DNS-320L
		\\DLINK-SHARE\Volume_1       	
		\\DLINK-SHARE\IPC$           	IPC Service (DNS-320L)
		\\DLINK-SHARE\lp             	USB Printer
	\\HP-MUSIC-PC    		Samba 4.13.13-Debian
smbXcli_negprot_smb1_done: No compatible protocol selected by server.
smbc_opendir: Invalid argument
So it looks like your two computers have different samba protocols and cannot talk to each other. I saw no server protocol specified, so it probably went to SMB3.. I think I would try in both computers /etc/samba/smb.conf files setting, I use:

Code: Select all

  workgroup = CEO
   client min protocol = COREPLUS
   server max protocol = SMB3
   name resolve order =  host wins bcast lmhosts 
   wins support = yes


I also always set my host files to show my machines I want to look at, I find it works faster and is stable ! But supposedly the proper name resolve is

Code: Select all

 name resolve order =  bcast wins host lmhosts


Also, I dont see any drives shared on your computers, and according to the samba docs, it will ONLY activate as a server if you have one or more shares.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Post Reply

Return to “MX Respins”