If you completely removed Samba like I did (by removing packages given by Xenopeek viewtopic.php?f=157&t=220688#p1159792) - you removed some packages that were related to networking and that depended on Samba. They will not get installed automatically on installing Samba back.dan0 wrote: networking is so broken now when I click on network in the caja file manager I get
Could Not Display "network:///"
Caja cannot handle "network" locations
Help
These are the packages are needed on my system (LM 17) -
Code: Select all
sudo apt-get install casper cifs-utils gvfs-backends libaio1 libldb1 libsmbclient libwbclient0 lupin-casper python-ldb python-samba python-smbc samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient system-config-printer-common system-config-printer-gnome vlc vlc-nox vlc-plugin-notify vlc-plugin-pulse
At this point everything works (if you have latest packages Samba v4.3.9). All you have to do is input your user password when connection to network asks for it.
If you check the "Remember forever" option (last in the image) - then you might have to input the keyring password for your system.
If the new packages (Samba v4.3.9) do not work for you. Then roll back using Xenopeek fix -
Then just freeze these packages (from the Xenopeek fix above). So that they do not get updated anymore (else the above fix is useless).Xenopeek wrote:Code: Select all
sudo aptitude install samba-libs=2:4.1.6+dfsg-1ubuntu2 libsmbclient=2:4.1.6+dfsg-1ubuntu2 libwbclient0=2:4.1.6+dfsg-1ubuntu2 python-samba=2:4.1.6+dfsg-1ubuntu2 samba=2:4.1.6+dfsg-1ubuntu2 samba-common=2:4.1.6+dfsg-1ubuntu2 samba-common-bin=2:4.1.6+dfsg-1ubuntu2 samba-dsdb-modules=2:4.1.6+dfsg-1ubuntu2 samba-vfs-modules=2:4.1.6+dfsg-1ubuntu2 smbclient=2:4.1.6+dfsg-1ubuntu2 libldb1=1:1.1.16-1 python-ldb=1:1.1.16-1
Code: Select all
sudo apt-mark hold libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient libldb1 python-ldb
Fix above worked like a charm for me! (Thanks again Xenopeek!)