Discussion:
samba problem - I think
(too old to reply)
pinnerite
2023-03-10 19:25:11 UTC
Permalink
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.

I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.

Windows 10 is for professional software not available on any other
platform.

The data files are all on Linux partitions and accessed from Windows
using samba.

I have to use the lowest security protocol for Windows to access the
data.

Today, I discovered that from both Windows I could not longer access
the data.

Eventually I powered down and then up again using a drive last cloned
in December 2022.

Everything worked perfectly.

So it seems an update has clobbered my machine.

Has anyone else using samba suffered from this problem?

TIA, Alan
--
Mint 20.3, kernel 5.4.0-139-generic, Cinnamon 5.2.7
running on an AMD Phenom II X4 Black edition processor with 16GB of
DRAM.
jim.gm4dhj
2023-03-10 19:26:43 UTC
Permalink
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
bloody computers who would have them...
Nic
2023-03-10 19:55:29 UTC
Permalink
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
Can you look at your history of updates in the update manager to see
what update has caused this problem?
pinnerite
2023-03-11 13:30:08 UTC
Permalink
On Fri, 10 Mar 2023 14:55:29 -0500
Post by Nic
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
Can you look at your history of updates in the update manager to see
what update has caused this problem?
It looks like an update 2023-03-08 caused the problem.
The earliest timeshift entry is for the same date.

Presumably I can uninstall the installed version (2:4.15.12) from synaptic.

But how do I install version 2:4.13.17?

Oh! The Windows 10 problem was fixed by an smb.conf tweak.

I had had: server max protocol = NT1 I changed it to min.
--
Mint 20.3, kernel 5.4.0-139-generic, Cinnamon 5.2.7
running on an AMD Phenom II X4 Black edition processor with 16GB of DRAM.
David W. Hodgins
2023-03-10 20:21:26 UTC
Permalink
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Samba has made several fixes to tighten security. See for example
https://www.samba.org/samba/history/samba-4.16.8.html

You can choose to use an older version of samba, but be careful to ensure
that it can not be accessed by untrusted software.

Regards, Dave Hodgins
John Rumm
2023-03-10 21:47:57 UTC
Permalink
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
Check the windows update has not disabled the "insecure" SMB1 client...
there is a program (that you can turn off) that does that periodically!

Got setings -> apps and features - Optional Features -> More windows
features (down the bottom).

Then scroll down to SMB 1.0/CIFS File Sharing Support

Turn off the "Automatic Removal", bit and turn on the Client / server as
required.
--
Cheers,

John.

/=================================================================\
| Internode Ltd - http://www.internode.co.uk |
|-----------------------------------------------------------------|
| John Rumm - john(at)internode(dot)co(dot)uk |
\=================================================================/
Paul
2023-03-11 02:39:58 UTC
Permalink
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
There is SMB1, SMB2, SMB3.

WinXP has only SMB1. Win10 supports all three.

The three of them aren't that much different, it's just
that the later versions of SAMBA support operation
across the Internet better, by using better crypto.

In Win10

Start : Run : control # Make control panel icon appear on task bar
# Right click the icon, select "Pin to Taskbar"

Programs and Features : Windows Features # Look for the SMB1 item, switch on two of three lines
# You want the "automatic removal of this feature" to
# be unticked.

In services.msc on Win10, there are two services beginning
with the word "Function" in their name. One of them has
the modern version of nameserving in it (so you can refer
to your machines by their symbolic name).

Now, having checked all of that, the latest twist in the
saga, is the more modern Windows OSes "brow beat" their legacy
OS friends.

If Windows 11 comes up first on a network, it will win
the network browser election (become the Master), which is
normal. But having done so, it will kick the shit out of
WinXP or Windows 7 when they come up. The modern OSes ensure
that the other OSes can't see anything.

I noticed, that if you start the legacy OSes first, one of
them becomes the network browser master, and the more modern
OSes then play nicely with the protocol.

But generally speaking, it is mostly a waste of time thinking
symbolic access will work.

nautilus smb://wallace/shared # You cannot expect this to work.
# The network neighbourhood icon, never works on any box

nautilus smb://102.168.0.2/shared # This works.

On Windows, the name might work. Sometimes.

explorer.exe \\wallace\shared # Works occasionally

explorer.exe \\192.168.0.2\shared # Works a bit better

Some VM hosts, don't use the same subnets as the
rest of your physical machines. To make Win10 Guest
play nicely, you can modify the netmask with a Powershell
command. Then, your computing solutions can see one another.

But generally, it's a mess, and they only seek to make it worse
not better.

For the person at Microsoft maintaining this stuff, the
versions and dialects of SAMBA means the test matrix
(proving it works) is huge. On the Linux side, nobody
cares any more. It will remain in the same broken state
from one release to the next. At the pinnacle of Linux SAMBA
achievement, there was one release where it all worked.
You could use the GUI, and the automation would wire up
the needed bits (install package manager items for you),
and it could "just work". But all of that work slipped
back into the software ooze. The web articles on setting
up a client manually, the suggestions may or may not work.
You might need to be added to a particular group (sambausers?).

Paul
Paul
2023-03-12 07:06:11 UTC
Permalink
Post by Paul
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
There is SMB1, SMB2, SMB3.
it took me quite a while to tip my Linux drive upright again.
(A restore from backup didn't quite do what it was supposed to do.)

I did a do-partial-upgrade on a 20.04.3 to 20.04.5 and
the 4.15 SAMBA came in. Initially, nothing worked.

I added these to smb.conf, as an experiment.

server min protocol = NT1
client min protocol = NT1
client lanman auth = yes
ntlm auth = yes

and EVERYTHING worked after that. My test share ("server test") on
Ubuntu 20.04.5 worked (it was set up a while back), as well as the
client worked with a Windows 11 that had SMBV1 turned on in Windows Features.

Paul
The Natural Philosopher
2023-03-12 07:40:13 UTC
Permalink
Post by Paul
Post by Paul
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
There is SMB1, SMB2, SMB3.
it took me quite a while to tip my Linux drive upright again.
(A restore from backup didn't quite do what it was supposed to do.)
I did a do-partial-upgrade on a 20.04.3 to 20.04.5 and
the 4.15 SAMBA came in. Initially, nothing worked.
I added these to smb.conf, as an experiment.
server min protocol = NT1
client min protocol = NT1
client lanman auth = yes
ntlm auth = yes
and EVERYTHING worked after that. My test share ("server test") on
Ubuntu 20.04.5 worked (it was set up a while back), as well as the
client worked with a Windows 11 that had SMBV1 turned on in Windows Features.
   Paul
I remember having too do similar back in the day when I still used samba.

But I don't use it any more, not even for my windows VM.

You don't need it to access a local hard drive under virtual box. And my
NFS mounted server partitions appear as 'local drives' to windows.
--
Religion is regarded by the common people as true, by the wise as
foolish, and by the rulers as useful.

(Seneca the Younger, 65 AD)
pinnerite
2023-03-12 15:46:45 UTC
Permalink
On Sun, 12 Mar 2023 03:06:11 -0400
Post by Paul
Post by Paul
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
There is SMB1, SMB2, SMB3.
it took me quite a while to tip my Linux drive upright again.
(A restore from backup didn't quite do what it was supposed to do.)
I did a do-partial-upgrade on a 20.04.3 to 20.04.5 and
the 4.15 SAMBA came in. Initially, nothing worked.
I added these to smb.conf, as an experiment.
server min protocol = NT1
client min protocol = NT1
client lanman auth = yes
ntlm auth = yes
and EVERYTHING worked after that. My test share ("server test") on
Ubuntu 20.04.5 worked (it was set up a while back), as well as the
client worked with a Windows 11 that had SMBV1 turned on in Windows Features.
Paul
I just ran up a clean 21.1 installation.
Virtual XP still cannot access the Linux folders.

Alan
--
Mint 20.3, kernel 5.4.0-139-generic, Cinnamon 5.2.7
running on an AMD Phenom II X4 Black edition processor with 16GB of
DRAM.
Nic
2023-03-12 16:15:30 UTC
Permalink
On Sun, 12 Mar 2023 15:46:45 +0000
Post by pinnerite
On Sun, 12 Mar 2023 03:06:11 -0400
Post by Paul
Post by Paul
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
There is SMB1, SMB2, SMB3.
it took me quite a while to tip my Linux drive upright again.
(A restore from backup didn't quite do what it was supposed to do.)
I did a do-partial-upgrade on a 20.04.3 to 20.04.5 and
the 4.15 SAMBA came in. Initially, nothing worked.
I added these to smb.conf, as an experiment.
server min protocol = NT1
client min protocol = NT1
client lanman auth = yes
ntlm auth = yes
and EVERYTHING worked after that. My test share ("server test") on
Ubuntu 20.04.5 worked (it was set up a while back), as well as the
client worked with a Windows 11 that had SMBV1 turned on in Windows Features.
Paul
I just ran up a clean 21.1 installation.
Virtual XP still cannot access the Linux folders.
Alan
--
Mint 20.3, kernel 5.4.0-139-generic, Cinnamon 5.2.7
running on an AMD Phenom II X4 Black edition processor with 16GB of
DRAM.
Given that you are using a m$ product to drive a machine, it might be more cost effective to look at some of those dell laptop latitudes selling for around $100. The cost of the machine includes a license for w7 or w10, the cost of the machine is almost equal to the cost of the license. Using a dedicated machine would seem to answer your problem.
Rod Speed
2023-03-12 17:51:08 UTC
Permalink
Post by Nic
On Sun, 12 Mar 2023 15:46:45 +0000
Post by pinnerite
On Sun, 12 Mar 2023 03:06:11 -0400
Post by pinnerite
Post by Paul
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last
cloned
Post by Paul
Post by pinnerite
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
There is SMB1, SMB2, SMB3.
it took me quite a while to tip my Linux drive upright again.
(A restore from backup didn't quite do what it was supposed to do.)
I did a do-partial-upgrade on a 20.04.3 to 20.04.5 and
the 4.15 SAMBA came in. Initially, nothing worked.
I added these to smb.conf, as an experiment.
server min protocol = NT1
client min protocol = NT1
client lanman auth = yes
ntlm auth = yes
and EVERYTHING worked after that. My test share ("server test") on
Ubuntu 20.04.5 worked (it was set up a while back), as well as the
client worked with a Windows 11 that had SMBV1 turned on in Windows Features.
Paul
I just ran up a clean 21.1 installation.
Virtual XP still cannot access the Linux folders.
Alan
--
Mint 20.3, kernel 5.4.0-139-generic, Cinnamon 5.2.7
running on an AMD Phenom II X4 Black edition processor with 16GB of
DRAM.
Given that you are using a m$ product to drive a machine, it might be
more cost effective to look at some of those dell laptop latitudes
selling for around $100. The cost of the machine includes a license for
w7 or w10, the cost of the machine is almost equal to the cost of the
license.
A W10 license doesn't cost anything like that.
Post by Nic
Using a dedicated machine would seem to answer your problem.
Nic
2023-03-12 18:44:55 UTC
Permalink
Post by Rod Speed
Post by Nic
On Sun, 12 Mar 2023 15:46:45 +0000
Post by pinnerite
On Sun, 12 Mar 2023 03:06:11 -0400
Post by pinnerite
Post by Paul
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from
Windows
Post by Paul
Post by pinnerite
using samba.
I have to use the lowest security protocol for Windows to access
the
Post by Paul
Post by pinnerite
data.
Today, I discovered that from both Windows I could not longer
access
Post by Paul
Post by pinnerite
the data.
Eventually I powered down and then up again using a drive last
cloned
Post by Paul
Post by pinnerite
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
There is SMB1, SMB2, SMB3.
it took me quite a while to tip my Linux drive upright again.
(A restore from backup didn't quite do what it was supposed to do.)
I did a do-partial-upgrade on a 20.04.3 to 20.04.5 and
the 4.15 SAMBA came in. Initially, nothing worked.
I added these to smb.conf, as an experiment.
server min protocol = NT1
client min protocol = NT1
client lanman auth = yes
ntlm auth = yes
and EVERYTHING worked after that. My test share ("server test") on
Ubuntu 20.04.5 worked (it was set up a while back), as well as the
client worked with a Windows 11 that had SMBV1 turned on in Windows Features.
    Paul
I just ran up a clean 21.1 installation.
Virtual XP still cannot access the Linux folders.
Alan
--
Mint 20.3, kernel 5.4.0-139-generic, Cinnamon 5.2.7
running on an AMD Phenom II X4 Black edition processor with 16GB of
DRAM.
Given that you are using a m$ product to drive a machine, it might be
more cost effective to look at some of those dell laptop latitudes
selling for around $100. The cost of the machine includes a license
for w7 or w10, the cost of the machine is almost equal to the cost of
the license.
A W10 license doesn't cost anything like that.
Post by Nic
Using a dedicated machine would seem to answer your problem.
What does a license cost?
Rod Speed
2023-03-12 19:19:06 UTC
Permalink
Post by Nic
Post by Rod Speed
Post by Nic
On Sun, 12 Mar 2023 15:46:45 +0000
Post by pinnerite
On Sun, 12 Mar 2023 03:06:11 -0400
Post by pinnerite
Post by Paul
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from
Windows
Post by Paul
Post by pinnerite
using samba.
I have to use the lowest security protocol for Windows to access
the
Post by Paul
Post by pinnerite
data.
Today, I discovered that from both Windows I could not longer
access
Post by Paul
Post by pinnerite
the data.
Eventually I powered down and then up again using a drive last
cloned
Post by Paul
Post by pinnerite
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
There is SMB1, SMB2, SMB3.
it took me quite a while to tip my Linux drive upright again.
(A restore from backup didn't quite do what it was supposed to do.)
I did a do-partial-upgrade on a 20.04.3 to 20.04.5 and
the 4.15 SAMBA came in. Initially, nothing worked.
I added these to smb.conf, as an experiment.
server min protocol = NT1
client min protocol = NT1
client lanman auth = yes
ntlm auth = yes
and EVERYTHING worked after that. My test share ("server test") on
Ubuntu 20.04.5 worked (it was set up a while back), as well as the
client worked with a Windows 11 that had SMBV1 turned on in Windows Features.
Paul
I just ran up a clean 21.1 installation.
Virtual XP still cannot access the Linux folders.
Alan
-- Mint 20.3, kernel 5.4.0-139-generic, Cinnamon 5.2.7
running on an AMD Phenom II X4 Black edition processor with 16GB of
DRAM.
Given that you are using a m$ product to drive a machine, it might be
more cost effective to look at some of those dell laptop latitudes
selling for around $100. The cost of the machine includes a license
for w7 or w10, the cost of the machine is almost equal to the cost of
the license.
A W10 license doesn't cost anything like that.
Post by Nic
Using a dedicated machine would seem to answer your problem.
What does a license cost?
$5 or so, Rumm listed it recently.
Peeler
2023-03-12 20:04:38 UTC
Permalink
On Mon, 13 Mar 2023 06:19:06 +1100, cantankerous trolling geezer Rodent
Speed, the auto-contradicting senile sociopath, blabbered, again:

<FLUSH the abnormal trolling senile cretin's latest trollshit unread>
--
Keema Nam addressing nym-shifting senile Rodent:
"You are now exposed as a liar, as well as an ignorant troll."
"MID: <***@news.giganews.com>"
Paul
2023-03-12 21:54:41 UTC
Permalink
Post by Nic
Post by Rod Speed
A W10 license doesn't cost anything like that.
Post by Nic
Using a dedicated machine would seem to answer your problem.
What does a license cost?
There are sources of discount licenses. People would not be
interested in them, unless they were $30 or less. Versus $100
or $150 or whatever, at retail.

It's pretty hard to tell just where these licenses have come
from, because Microsoft does not offer a public tool for
"lineage" work. I don't think MGAdiag will tell you where they
got that license from.

And these licenses are not VLK, or they'd be broken by now.
These are not materials from a "rogue mom and pop computer store".
And considering the price, they're not from a MSDN subscription
either. With an MSDN subscription, you get some licenses with that.

Paul

Peeler
2023-03-12 18:59:58 UTC
Permalink
"Who or What is Rod Speed?

Rod Speed is an entirely modern phenomenon. Essentially, Rod Speed
is an insecure and worthless individual who has discovered he can
enhance his own self-esteem in his own eyes by playing "the big, hard
man" on the InterNet."

https://www.pcreview.co.uk/threads/rod-speed-faq.2973853/
--
Richard addressing senile Rodent Speed:
"Shit you're thick/pathetic excuse for a troll."
MID: <ogoa38$pul$***@news.mixmin.net>
Paul
2023-03-12 21:20:35 UTC
Permalink
Post by pinnerite
On Sun, 12 Mar 2023 03:06:11 -0400
Post by Paul
Post by Paul
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
There is SMB1, SMB2, SMB3.
it took me quite a while to tip my Linux drive upright again.
(A restore from backup didn't quite do what it was supposed to do.)
I did a do-partial-upgrade on a 20.04.3 to 20.04.5 and
the 4.15 SAMBA came in. Initially, nothing worked.
I added these to smb.conf, as an experiment.
server min protocol = NT1
client min protocol = NT1
client lanman auth = yes
ntlm auth = yes
and EVERYTHING worked after that. My test share ("server test") on
Ubuntu 20.04.5 worked (it was set up a while back), as well as the
client worked with a Windows 11 that had SMBV1 turned on in Windows Features.
Paul
I just ran up a clean 21.1 installation.
Virtual XP still cannot access the Linux folders.
Alan
OK, the 4.15 SAMBA is a rat bastard. But I did get around it.

[Picture]

Loading Image...

The evidence suggests there is an authentication problem
when logging into LM211 with its 4.15 Samba version. But doing my Googling,
there is more than one way to authenticate, so I am unable to
determine what "method" happens to be failing. It might be PAM,
it might be something else. But ripping the arms off the thing,
makes it behave. You can declare the share LM211 is offering,
to be a public one.

LM211 was already on my hard drive, and all it
required is a giant update to prepare for experiments.
This is the hard drive that did not restore nicely from
a backup, but ripping more arms off that, got it running again :-)
The root cause there, was (apparently) leaving some GPT partition
tables on a drive (not sufficient cleaning) before starting
brand new experiments. A mistake made months ago. Oops.
I had to clean it with a hex editor.

Paul
pinnerite
2023-03-12 21:08:14 UTC
Permalink
On Sun, 12 Mar 2023 03:06:11 -0400
Post by Paul
Post by Paul
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
There is SMB1, SMB2, SMB3.
it took me quite a while to tip my Linux drive upright again.
(A restore from backup didn't quite do what it was supposed to do.)
I did a do-partial-upgrade on a 20.04.3 to 20.04.5 and
the 4.15 SAMBA came in. Initially, nothing worked.
I added these to smb.conf, as an experiment.
server min protocol = NT1
client min protocol = NT1
client lanman auth = yes
ntlm auth = yes
and EVERYTHING worked after that. My test share ("server test") on
Ubuntu 20.04.5 worked (it was set up a while back), as well as the
client worked with a Windows 11 that had SMBV1 turned on in Windows Features.
Paul
So on Mint 21.1, that seems to work for Windows 10 but not for XP.

I tried using VBox's shared directories. They show up all right.

Some programs could be made to run but the two important programs that
make me still need XP just wouldn't.

I have gone back to 20.3 until I can unblock this problem.

I may be some time.

Regards, Alan
--
Mint 20.3, kernel 5.4.0-139-generic, Cinnamon 5.2.7
running on an AMD Phenom II X4 Black edition processor with 16GB of
DRAM.
SH
2023-03-11 09:04:00 UTC
Permalink
Post by pinnerite
For many years I have had to retain two Windows virtual machines,
running on a Linux host and VirtualBox.
I need Windows XP for a large home-grown 16 bit programe and for a
programme that drives a Fujitsu cut-sheet feeder-scanner.
Windows 10 is for professional software not available on any other
platform.
The data files are all on Linux partitions and accessed from Windows
using samba.
I have to use the lowest security protocol for Windows to access the
data.
Today, I discovered that from both Windows I could not longer access
the data.
Eventually I powered down and then up again using a drive last cloned
in December 2022.
Everything worked perfectly.
So it seems an update has clobbered my machine.
Has anyone else using samba suffered from this problem?
TIA, Alan
This sounds like SMB v1.0 and SMB v2.0 has been disabled on the Windows
VMs so that SMB v3.0 is then the only "option" by default.

You need to turn SMB 1.0 and SMB 2.0 back on and you will get the usual
security warnings on the windows VMs.

Or you could upgrade Linux to support SMB 3.0 or it could just need
enabling?

https://learn.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3?tabs=server

https://www.osetc.com/en/how-to-configure-samba-server-to-use-smbv2-or-smbv3-protocol-in-linux.html
Loading...