[Samba] smb browse and V1
Peter Carlson
peter at howudodat.com
Thu Oct 20 15:53:31 UTC 2022
I am getting the following error when using Nautilis / Nemo on Gnome
desktop, ubuntu 22.04 and connection to just smb://filesvr
gvfsd[8049]: smbXcli_negprot_smb1_done: No compatible protocol
selected by server.
failed to retrieve share list from server: connection refused
the orginal domain was created years ago (on Windows server) and was
named <company>.local This was kept during all migrations since. The
ADDC is now running on ubuntu 22.04 samba 4.15.9
gnome is desired because we will //probably// start using adsys to add
ubuntu GPOs (/*unless someone here yells at me for even thinking it*/)
What are my options?
1) use smb://filesvr/<sharname> to connect, requires that the share name
be known
*2) use mount.cifs - not super user friendly for windows users using
xRDP server. currently I have done mount.cifs and I create directory
~/filesvr and place sym links to the shares. This works great for a
small server with few shares, but is quickly un-scaleable
3) use kde - dolphin works, but their config files are harder to manage
using logon scripts / GPO, so not likely
4) lower min version to SMB1 - not likely to happen!
Others: Are there other options that I am missing?
Avahi: I read the wiki about not naming .local Just curious how will
conflicts with avahi show up? I'm pretty sure avahi is not installed:
ADDC:
root at nc1:/etc/bind# apt search avahi | grep -i install
t3/jammy,now 0.8-5ubuntu5 amd64 [installed,automatic]
libavahi-common-data/jammy,now 0.8-5ubuntu5 amd64 [installed,automatic]
libavahi-common3/jammy,now 0.8-5ubuntu5 amd64 [installed,automatic]
File Server:
SDCP\peter at filesvr:~$ apt search avahi | grep -i install
ent3/jammy,now 0.8-5ubuntu5 amd64 [installed,automatic]
libavahi-common-data/jammy,now 0.8-5ubuntu5 amd64 [installed,automatic]
libavahi-common3/jammy,now 0.8-5ubuntu5 amd64 [installed,automatic]
Peter
PS: I can list the shares with smbclient
SDCP\peter at xrdp:~$ smbclient -L //filesvr
Password for [peter at SA*****NT.LOCAL]:
Sharename Type Comment
--------- ---- -------
Test Disk test
BinaryData Disk Store for DB and Middleware
Ca*****nt Disk Ca*****nt Common Files
Ca*****nt-Accounting Disk Ca*****nt Accounting Files
Ca*****nt-Secure Disk Ca*****nt Secure Files
Dwayne-Secure Disk Dwayne Secure Files
Faxes-In Disk Fax Server Holding
Faxes-Out Disk Fax Server Holding
Software Disk Software Repository
FacilityPictures Disk Facility Pictures
IPC$ IPC IPC Service (filesvr server (Samba, Ubuntu))
SMB1 disabled -- no workgroup available
More information about the samba
mailing list