Linux Mint 21.3 Virginia, fully updated.
Currently running as a VM + VMWaretools under VMWare Workstation Player 17 with a bridged network connection on a heavily stripped-out copy of Windows 11 - I'm on my semi-annual testing phase to see if there's a Linux I can live with as a daily driver, having been attempting to abandon Windows since the post-XP days...
...My 'fileserver' is a Debian-based ESXi VM specifically running DietPi and CasaOS using SAMBA for sharing - all is good, and it's open guest shares are fully accessible by every other computer on the network, Windows, other DietPi-based VM's, a selection of retro-OS's, and a MacOS VM. I did have a little fun with SAMBA network share discovery from Windows, but that was fixed with a script on the server.
Network Server SAMBA config:
Code: Select all
[global]
## Browsing/Identification ###
workgroup = LAN
## fruit settings
min protocol = SMB2
ea support = yes
## vfs objects = fruit streams_xattr
fruit:metadata = stream
fruit:model = Macmini
fruit:veto_appledouble = no
fruit:posix_rename = yes
fruit:zero_file_id = yes
fruit:wipe_intentionally_left_blank_rfork = yes
fruit:delete_empty_adfiles = yes
map to guest = bad user
## hosts allow = 192.168.0.0/16
## hosts deny = 0.0.0.0/0
include=/etc/samba/smb.casa.conf
Code: Select all
[Audio]
comment = CasaOS share Audio
public = Yes
path = /media/Store/Audio
browseable = Yes
read only = No
guest ok = Yes
create mask = 0777
directory mask = 0777
force user = root
[Config]
comment = CasaOS share Config
public = Yes
path = /media/Store/Config
browseable = Yes
read only = No
guest ok = Yes
create mask = 0777
directory mask = 0777
force user = root
...you get the general idea.
Not knowing if MINT comes with SAMBA / CIFS as standard I did a "sudo apt install" for both after I fully updated the system. As a networking test I added the following to MInt's /etc/samba/smb.conf:
Code: Select all
...
workgroup = LAN
...
map to guest = bad user
...
hosts allow = 192.168.0.0/16
hosts deny = 0.0.0.0/0
[mintshare]
comment = Open Linux Share
path = /home/charles/linuxshare
read only = no
guest ok = yes
force create mode = 0755
force user = charles
force group = charles
As hoped this works perfectly with a discoverable public 'mintshare' in my 'LAN' NETBIOS group that is fully readable and writable, and requires no password for access - so far so good.
Now here's where things go a bit runny...
What about accessing my known properly functioning SAMBA shares on my server VM from my test Mint VM..? Here's a couple of screen shots illustrating:
1) What Mint can find - good enough!
...but for some reason it wants me to enter a password for a public share that doesn't have a password!
2) The error I get.
...regardless of what I enter in to the dialogue - even the root login details for the SAMBA server!
So...
What's going on?
-Why is Mint asking for login credentials for a public share that needs none?
-Why am I getting this error regardless of what I enter, even the root credentials for the SAMBA server?
No doubt I'm missing something - either a misconfiguration somewhere or a fundamental misunderstanding of how a desktop Linux handles this kind of thing.
For clarity:
-No, I don't want to change how my server handles shares, just to suit an OS I'm testing when everything else is happy.
-No, I don't want these to be password-protected or private shares - I want them automatically browsable and accessible by all.
-Just get to the bottom of what's wrong with my Mint set up and fix whatever the miscommunication with my server.
Having discovered Mint isn't as guilty of the keychain nonsense that has put me right off other distro's in the past (eg: I can install my favourite browser, Thorium, without a load of messing about trying to cure pesky password popups) I just need it to play nice with my network from my point of view...
...at that point I'm going to see if it will run Paint Shop Pro, via Wine or Virtualbox. If that irreplaceable for me Windows app will function under Mint, my next task will be to dual-boot it with the current Windows install on my main laptop...
...eventually with a view to migrating fully.
-On the minus side I've been trying to ditch Windows for something like 20 years, not because of Windows but because of MicroSoft.
-On the plus side this 'adventure' with Mint is the furthest I've gotten with a desktop Linux before giving up in disappointment.
I hope that's all the info anyone might need.
Many thanks in advance for any greatly appreciated help.
CM.