Code: Select all
client min protocol = NT1
server min protocol = NT1
Code: Select all
client min protocol = NT1
server min protocol = NT1
All right, you've made your point.
SteveR wrote: ⤴Fri Apr 29, 2022 7:57 pm In following this thread, a post by altair4 seems to have gotten "lost" from the discussion. The problem may not be with Samba itself, but with gvfsd. See altair4's post of April7th at 5:14PM. He wrote: "It doesn't appear to be a samba issue since the samba client process itself works as it should. You just need to bypass the gvfsd-smb-browse process ... I have no idea how to fix a gvfs bug."
Reviewing the thread we do not seem to in fact know what your issue is but especially seeing as how Mint does not even use systemd-networkd (for which networkd-dispatcher is a service) this would seem quite unlikely.Hillybilly wrote: ⤴Sat May 07, 2022 5:16 am 07 May 22. After selective install of updates - timeshift -reboot my issue is totally down to networkd-dispatcher update
Code: Select all
sudo apt-get remove python3-samba -y && apt-get remove samba-dsdb-modules -y && apt-get remove libsmbclient -y && apt-get remove samba -y && apt-get remove samba-vfs-modules -y && apt-get remove smbclient -y && apt-get remove samba-libs -y && apt-get remove libwbclient0 -y && sudo apt-get remove samba-common-bin -y && apt-get remove samba-common -y
sudo apt-get install libwbclient0=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y && apt-get install samba-libs=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y && apt-get install python3-samba=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y && apt-get install samba-dsdb-modules=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y && apt-get install libsmbclient=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y && apt-get install samba-common=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y && apt-get install samba-common-bin=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y && apt-get install samba=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y && apt-get install samba-vfs-modules=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y && apt-get install smbclient=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y && apt-get install gvfs-backends -y
josebarg wrote: ⤴Tue Apr 12, 2022 4:00 pm Here is what I did to restore samba to the older version manually without using TimeShift.
Make a timeshift restore point, just in case something goes wrong.
1. Check Samba Packages cache
Open a console and type this commandAt the very end of the information given as result you will see something like:Code: Select all
sudo apt-cache showpkg samba
2:4.13.17~dfsg-0ubuntu0.21.04.2
2:4.13.17~dfsg-0ubuntu0.21.04.1
2:4.11.6+dfsg-0ubuntu1
If you don't see this exact version "2:4.13.17~dfsg-0ubuntu0.21.04.1", read the entire post carefully, cos you will need to change some command
These are the packages in your system cache available to install manually, the version that causes all this problems is the one ended in ".2"
So we are going to uninstall version named "2:4.13.17~dfsg-0ubuntu0.21.04.2"
And we will replace it with the one before named "2:4.13.17~dfsg-0ubuntu0.21.04.1" depending on when you have been doing updates you could have an older version available instead. We just need to use the most recent one before the named "2:4.13.17~dfsg-0ubuntu0.21.04.2"
2. Remove Samba
Ok first, we need to uninstall all samba packages, so execute the following commands one at the time, make sure to do not skip one, and respect the execution order.
Before start close any package manager like "synaptic" and the "update manager"if you had them open or minimized.
3. Install Old SambaCode: Select all
sudo apt-get remove python3-samba -y sudo apt-get remove samba-dsdb-modules -y sudo apt-get remove libsmbclient -y sudo apt-get remove samba -y sudo apt-get remove samba-vfs-modules -y sudo apt-get remove smbclient -y sudo apt-get remove samba-libs -y sudo apt-get remove libwbclient0 -y sudo apt-get remove samba-common-bin -y sudo apt-get remove samba-common -y
Ok Now lets install the older version, this command is assuming you have in you cache the version "2:4.13.17~dfsg-0ubuntu0.21.04.1" if you have another version to replace you will need to adjust the commands. For example if your available version was "2:4.11.6+dfsg-0ubuntu1", the first command would be "sudo apt-get install libwbclient0=2:4.11.6+dfsg-0ubuntu1 -y"
The only command we don't need to indicate the version is the last one as you see, cos is not samba but a dependency.
Again, execute the following commands one at the time in this order, make sure to do not skip one and respect the execution order.
Ok reboot the computer and see if network problem is fixed, please note after this you may need to reinstall some addon packages like "share" packages for file manager if you need them to use the share folder option in file manager, just use mint software manager to download it again.Code: Select all
sudo apt-get install libwbclient0=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y sudo apt-get install samba-libs=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y sudo apt-get install python3-samba=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y sudo apt-get install samba-dsdb-modules=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y sudo apt-get install libsmbclient=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y sudo apt-get install samba-common=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y sudo apt-get install samba-common-bin=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y sudo apt-get install samba=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y sudo apt-get install samba-vfs-modules=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y sudo apt-get install smbclient=2:4.13.17~dfsg-0ubuntu0.21.04.1 -y sudo apt-get install gvfs-backends -y
Hope this works for you as well.
Remember to uncheck Samba next time you do an Update in Linux Mint to avoid to install the problematic version again, or use right mouse click in "Samba" inside update list to add it to the exclusion list.
Oh drat, who added that, probably whoever added the rest of the extraneous information to a page that is supposed to just list the packages for each distro.dcbtahoe wrote: ⤴Tue Oct 18, 2022 1:04 pm
This is really helpful:
https://wiki.samba.org/index.php/Distri ... stallation
....
Perform Step 4: Disabling the DNS Resolver
https://serverfault.com/questions/44240 ... g-in-linux
Does anyone have real world scenarios where they've used the immutable flag in Linux?
chattr +i file.txt