I cannot get Windows 10 to see samba shares on my reincarnated Mint 21.1.
I have tried every combination of min and max protocols.
Windows XP on the same configuration does see the samba shares.
I have come to the conclusion that I previously must have been using an earlier version of VirtualBox.
I had been using version 7.0.8 on this rig but it had annoying characteristics so I went back to 6.1.12. I have nothing earlier than that.
If anyone happens to be a VBox user and knows the answer. Plesase share.
I can carry on using VBox's shared directories but it is a niggle.
On 7/17/2023 4:05 PM, pinnerite wrote:
I cannot get Windows 10 to see samba shares on my reincarnated Mint 21.1.
I have tried every combination of min and max protocols.
Windows XP on the same configuration does see the samba shares.
I have come to the conclusion that I previously must have been using an earlier version of VirtualBox.
I had been using version 7.0.8 on this rig but it had annoying characteristics so I went back to 6.1.12. I have nothing earlier than that.
If anyone happens to be a VBox user and knows the answer. Plesase share.
I can carry on using VBox's shared directories but it is a niggle.
First you have to do
ipconfig
in Windows 10 and see what your VirtualBox has netted for an IP address
from the DHCP on your router (or not). You can run with default "NAT"
for the VBox choice or you can try "Bridged".
Without discussing all the security implications, these
are the settings in the Linux Host (I'm using LM212 Victoria Cinn for test here).
I did a "sudo apt install samba", before setting up my LM212 share. And,
I can see my Windows share, which for once, didn't put up a fight. I didn't set up a test share in my home, and put it under slash instead. Just to get on
with it.
/etc/samba/smb.conf
...
workgroup = WORKGROUP
server min protocol = NT1
server max protocol = smb3
client min protocol = NT1
client max protocol = smb3
client lanman auth = yes
ntlm auth = yes
That should be enough to make a VBox WinXP and a VBox Win10 work.
Previously, there was an authentication issue (get the dialog,
enter the details of the Win10 box, and get rejected). It's possible
the auth lines helped.
Paul
On Mon, 17 Jul 2023 19:21:35 -0400
Paul <nospam@needed.invalid> wrote:
On 7/17/2023 4:05 PM, pinnerite wrote:
I cannot get Windows 10 to see samba shares on my reincarnated Mint 21.1. >>>
I have tried every combination of min and max protocols.
Windows XP on the same configuration does see the samba shares.
I have come to the conclusion that I previously must have been using an earlier version of VirtualBox.
I had been using version 7.0.8 on this rig but it had annoying characteristics so I went back to 6.1.12. I have nothing earlier than that.
If anyone happens to be a VBox user and knows the answer. Plesase share. >>>
I can carry on using VBox's shared directories but it is a niggle.
First you have to do
ipconfig
in Windows 10 and see what your VirtualBox has netted for an IP address
from the DHCP on your router (or not). You can run with default "NAT"
for the VBox choice or you can try "Bridged".
Without discussing all the security implications, these
are the settings in the Linux Host (I'm using LM212 Victoria Cinn for test here).
I did a "sudo apt install samba", before setting up my LM212 share. And,
I can see my Windows share, which for once, didn't put up a fight. I didn't >> set up a test share in my home, and put it under slash instead. Just to get on
with it.
/etc/samba/smb.conf
...
workgroup = WORKGROUP
server min protocol = NT1
server max protocol = smb3
client min protocol = NT1
client max protocol = smb3
client lanman auth = yes
ntlm auth = yes
That should be enough to make a VBox WinXP and a VBox Win10 work.
Previously, there was an authentication issue (get the dialog,
enter the details of the Win10 box, and get rejected). It's possible
the auth lines helped.
Paul
Sadly I still get asked for my share's credentials which it rejects.
It shouldn't. They or rather it (the password) are correct. Thanks for trying.
On Mon, 17 Jul 2023 19:21:35 -0400
Paul <nospam@needed.invalid> wrote:
On 7/17/2023 4:05 PM, pinnerite wrote:
I cannot get Windows 10 to see samba shares on my reincarnated Mint 21.1. >>>
I have tried every combination of min and max protocols.
Windows XP on the same configuration does see the samba shares.
I have come to the conclusion that I previously must have been using an earlier version of VirtualBox.
I had been using version 7.0.8 on this rig but it had annoying characteristics so I went back to 6.1.12. I have nothing earlier than that.
If anyone happens to be a VBox user and knows the answer. Plesase share. >>>
I can carry on using VBox's shared directories but it is a niggle.
First you have to do
ipconfig
in Windows 10 and see what your VirtualBox has netted for an IP address
from the DHCP on your router (or not). You can run with default "NAT"
for the VBox choice or you can try "Bridged".
Without discussing all the security implications, these
are the settings in the Linux Host (I'm using LM212 Victoria Cinn for test here).
I did a "sudo apt install samba", before setting up my LM212 share. And,
I can see my Windows share, which for once, didn't put up a fight. I didn't >> set up a test share in my home, and put it under slash instead. Just to get on
with it.
/etc/samba/smb.conf
...
workgroup = WORKGROUP
server min protocol = NT1
server max protocol = smb3
client min protocol = NT1
client max protocol = smb3
client lanman auth = yes
ntlm auth = yes
That should be enough to make a VBox WinXP and a VBox Win10 work.
Previously, there was an authentication issue (get the dialog,
enter the details of the Win10 box, and get rejected). It's possible
the auth lines helped.
Paul
Sadly I still get asked for my share's credentials which it rejects.
It shouldn't. They or rather it (the password) are correct. Thanks for trying.
On 7/18/2023 2:35 AM, pinnerite wrote:
On Mon, 17 Jul 2023 19:21:35 -0400
Paul <nospam@needed.invalid> wrote:
On 7/17/2023 4:05 PM, pinnerite wrote:
I cannot get Windows 10 to see samba shares on my reincarnated Mint 21.1. >>>
I have tried every combination of min and max protocols.
Windows XP on the same configuration does see the samba shares.
I have come to the conclusion that I previously must have been using an earlier version of VirtualBox.
I had been using version 7.0.8 on this rig but it had annoying characteristics so I went back to 6.1.12. I have nothing earlier than that.
If anyone happens to be a VBox user and knows the answer. Plesase share. >>>
I can carry on using VBox's shared directories but it is a niggle.
First you have to do
ipconfig
in Windows 10 and see what your VirtualBox has netted for an IP address
from the DHCP on your router (or not). You can run with default "NAT"
for the VBox choice or you can try "Bridged".
Without discussing all the security implications, these
are the settings in the Linux Host (I'm using LM212 Victoria Cinn for test here).
I did a "sudo apt install samba", before setting up my LM212 share. And, >> I can see my Windows share, which for once, didn't put up a fight. I didn't
set up a test share in my home, and put it under slash instead. Just to get on
with it.
/etc/samba/smb.conf
...
workgroup = WORKGROUP
server min protocol = NT1
server max protocol = smb3
client min protocol = NT1
client max protocol = smb3
client lanman auth = yes
ntlm auth = yes
That should be enough to make a VBox WinXP and a VBox Win10 work.
Previously, there was an authentication issue (get the dialog,
enter the details of the Win10 box, and get rejected). It's possible
the auth lines helped.
Paul
Sadly I still get asked for my share's credentials which it rejects.
It shouldn't. They or rather it (the password) are correct. Thanks for trying.
wsdd package takes the place of nmbd ? This idea shows up in
Synaptic when I searched for nmb. I don't need to apply it at the
moment, as stuff seems to be working.
sudo systemctl start {nmbd,smbd,winbind}.service # I don't have a winbind
sudo systemctl status {nmbd,smbd }.service # Both are running
groups bullwinkle
bullwinkle : bullwinkle adm cdrom sudo dip plugdev lpadmin sambashare
^^^^^^^^^^
This is on Win10. Sadly, it never records failed attempts to connect.
Who gives a rats ass about success cases, when something is broken ?
Get-SmbConnection # This only works in Win10 Powershell *after* a connection is made
# Obviously my test connection was not from WinXP :-) [ NT1 ]
# In Win10, in Windows Features, is a way to turn on NT1 so WinXP can connect to Win10
ServerName ShareName UserName Credential Dialect NumOpens ---------- --------- -------- ---------- ------- --------
WALLACE RAMDrive WALLACE\username My MSA 3.1.1 2
nbtscan-1.0.35.exe 192.168.1.0/24
192.168.1.3 WORKGROUP\CRUISE SHARING # But Win10 does not list itself.
*timeout (normal end of scan) # Generally, NBTscan sees more items, than any file manager.
The program is also available on Linux. Convenient.
However, it does not mention the workgroup value.
Both boxes are workgroup=WORKGROUP. I like it when it
lists the workgroup value, because it can identify VMs
where you haven't configured that yet.
bullwinkle@CRUISE:~$ nbtscan 192.168.1.0/24
Doing NBT name scan for addresses from 192.168.1.0/24
IP address NetBIOS Name Server User MAC address ------------------------------------------------------------------------------
192.168.1.3 CRUISE <server> CRUISE 00:00:00:00:00:00 Linux physical box
192.168.1.2 WALLACE <server> <unknown> 2c:f0:12:34:56:78 Windows physical box
192.168.1.255 Sendto failed: Permission denied
bullwinkle@CRUISE:~$
Not that this makes a bit of difference of course. I hardly
ever get to refer to them by name. It's the luck of the
draw on boot order, and population of a list.
Still no sign of an authentication issue, but I have *definitely*
seen a rejection issue before. Most annoying when it happens.
Probably a different distro ? Maybe I saw that on a Ubuntu, like
a 23.04 or something.
Paul
pinnerite wrote:
On Mon, 17 Jul 2023 19:21:35 -0400
Paul <nospam@needed.invalid> wrote:
On 7/17/2023 4:05 PM, pinnerite wrote:
I cannot get Windows 10 to see samba shares on my reincarnated Mint 21.1. >>>>
I have tried every combination of min and max protocols.
Windows XP on the same configuration does see the samba shares.
I have come to the conclusion that I previously must have been using an earlier version of VirtualBox.
I had been using version 7.0.8 on this rig but it had annoying characteristics so I went back to 6.1.12. I have nothing earlier than that.
If anyone happens to be a VBox user and knows the answer. Plesase share. >>>>
I can carry on using VBox's shared directories but it is a niggle.
First you have to do
ipconfig
in Windows 10 and see what your VirtualBox has netted for an IP address
from the DHCP on your router (or not). You can run with default "NAT"
for the VBox choice or you can try "Bridged".
Without discussing all the security implications, these
are the settings in the Linux Host (I'm using LM212 Victoria Cinn for test here).
I did a "sudo apt install samba", before setting up my LM212 share. And, >>> I can see my Windows share, which for once, didn't put up a fight. I didn't >>> set up a test share in my home, and put it under slash instead. Just to get on
with it.
/etc/samba/smb.conf
...
workgroup = WORKGROUP
server min protocol = NT1
server max protocol = smb3
client min protocol = NT1
client max protocol = smb3
client lanman auth = yes
ntlm auth = yes
That should be enough to make a VBox WinXP and a VBox Win10 work.
Previously, there was an authentication issue (get the dialog,
enter the details of the Win10 box, and get rejected). It's possible
the auth lines helped.
Paul
Sadly I still get asked for my share's credentials which it rejects.
It shouldn't. They or rather it (the password) are correct. Thanks for trying.
WAG, on reincarnated Mint 21.1 did you add samba password for user?
sudo smbpasswd -a YOUR_USER_NAME
[...]
Apparently smb.conf has some sort of password sync, which
might imply that the smbpasswd and the Linux account and
passwd are handled the same somehow. Even though there
is the possibility of setting up Samba server on the
LM212 side, to use one of three different databases
for the password.
I tested this one, where the password value is the same on the two,
and the bullwinkle account worked to get me in. It's possible
installing samba, provided the smb.conf starting file, to which
I added my six line stanza.
[...]
The testfile in /topshared
ls -al /topshared
rwx r r nobody nogroup 5 WALLACE.txt
From Win10, I tried to edit the file and I was denied.
Then I notice /var/log/samba/log.wallace was updated a
minute or two ago.
Segmentation fault (/usr/sbin/smbd ? hard to tell)
And now I'm editing the file. See how neat it is, to
not read LOG FILES :-) The test file has five characters
in it "saved", which is from where I saved out my Notepad
session into the share, yesterday. And the nobody:nogroup
suggests I did this as Guest, and not as bullwinkle.
On Tue, 18 Jul 2023 05:14:15 -0400
Paul <nospam@needed.invalid> wrote:
On 7/18/2023 2:35 AM, pinnerite wrote:
On Mon, 17 Jul 2023 19:21:35 -0400
Paul <nospam@needed.invalid> wrote:
On 7/17/2023 4:05 PM, pinnerite wrote:
I cannot get Windows 10 to see samba shares on my reincarnated Mint 21.1.
I have tried every combination of min and max protocols.
Windows XP on the same configuration does see the samba shares.
I have come to the conclusion that I previously must have been using an earlier version of VirtualBox.
I had been using version 7.0.8 on this rig but it had annoying characteristics so I went back to 6.1.12. I have nothing earlier than that.
If anyone happens to be a VBox user and knows the answer. Plesase share.
I can carry on using VBox's shared directories but it is a niggle.
First you have to do
ipconfig
in Windows 10 and see what your VirtualBox has netted for an IP address >> from the DHCP on your router (or not). You can run with default "NAT"
for the VBox choice or you can try "Bridged".
Without discussing all the security implications, these
are the settings in the Linux Host (I'm using LM212 Victoria Cinn for test here).
I did a "sudo apt install samba", before setting up my LM212 share. And, >> I can see my Windows share, which for once, didn't put up a fight. I didn't
set up a test share in my home, and put it under slash instead. Just to get on
with it.
/etc/samba/smb.conf
...
workgroup = WORKGROUP
server min protocol = NT1
server max protocol = smb3
client min protocol = NT1
client max protocol = smb3
client lanman auth = yes
ntlm auth = yes
That should be enough to make a VBox WinXP and a VBox Win10 work.
Previously, there was an authentication issue (get the dialog,
enter the details of the Win10 box, and get rejected). It's possible
the auth lines helped.
Paul
Sadly I still get asked for my share's credentials which it rejects.
It shouldn't. They or rather it (the password) are correct. Thanks for trying.
wsdd package takes the place of nmbd ? This idea shows up in
Synaptic when I searched for nmb. I don't need to apply it at the
moment, as stuff seems to be working.
sudo systemctl start {nmbd,smbd,winbind}.service # I don't have a winbind
sudo systemctl status {nmbd,smbd }.service # Both are running
groups bullwinkle
bullwinkle : bullwinkle adm cdrom sudo dip plugdev lpadmin sambashare
^^^^^^^^^^
This is on Win10. Sadly, it never records failed attempts to connect.
Who gives a rats ass about success cases, when something is broken ?
Get-SmbConnection # This only works in Win10 Powershell *after* a connection is made
# Obviously my test connection was not from WinXP :-) [ NT1 ]
# In Win10, in Windows Features, is a way to turn on NT1 so WinXP can connect to Win10
ServerName ShareName UserName Credential Dialect NumOpens ---------- --------- -------- ---------- ------- --------
WALLACE RAMDrive WALLACE\username My MSA 3.1.1 2
nbtscan-1.0.35.exe 192.168.1.0/24
192.168.1.3 WORKGROUP\CRUISE SHARING # But Win10 does not list itself.
*timeout (normal end of scan) # Generally, NBTscan sees more items, than any file manager.
The program is also available on Linux. Convenient.
However, it does not mention the workgroup value.
Both boxes are workgroup=WORKGROUP. I like it when it
lists the workgroup value, because it can identify VMs
where you haven't configured that yet.
bullwinkle@CRUISE:~$ nbtscan 192.168.1.0/24
Doing NBT name scan for addresses from 192.168.1.0/24
IP address NetBIOS Name Server User MAC address ------------------------------------------------------------------------------
192.168.1.3 CRUISE <server> CRUISE 00:00:00:00:00:00 Linux physical box
192.168.1.2 WALLACE <server> <unknown> 2c:f0:12:34:56:78 Windows physical box
192.168.1.255 Sendto failed: Permission denied
bullwinkle@CRUISE:~$
Not that this makes a bit of difference of course. I hardly
ever get to refer to them by name. It's the luck of the
draw on boot order, and population of a list.
Still no sign of an authentication issue, but I have *definitely*
seen a rejection issue before. Most annoying when it happens.
Probably a different distro ? Maybe I saw that on a Ubuntu, like
a 23.04 or something.
Paul
As Windows XP running on the same VBox/Mint 21.1 combination runs vedry fast and connects to the same samba shares. the problem is either protocol limitations or Windows 10 itself.
As Windows 10 has shown several oddities I am going through the onboard Windows repair options. This agonisingly slow and for me foreign territory but I shal stick with it.
Alan
Windows 10 seems to have cleared itself. I decided to overwrite smb.conf with a version that I knew had been reliable and tested again.
Bingo! Both XP and Win-10 are accessing the Linux shares again.
pinnerite wrote:
Windows 10 seems to have cleared itself. I decided to overwrite smb.conf with a version that I knew had been reliable and tested again.
Bingo! Both XP and Win-10 are accessing the Linux shares again.
testparm -d might have helped.
Also "diff non_working_smb.conf backup_smb.conf" might be informative
--
Take care,
Jonathan
I cannot get Windows 10 to see samba shares on my reincarnated Mint 21.1.
I have tried every combination of min and max protocols.
Windows XP on the same configuration does see the samba shares.
On 7/18/2023 4:05 AM, pinnerite wrote:
I cannot get Windows 10 to see samba shares on my reincarnated Mint 21.1.
I have tried every combination of min and max protocols.
Windows XP on the same configuration does see the samba shares.
Are you using the stanealone Samba or the in-kernel Samba?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 474 |
Nodes: | 16 (2 / 14) |
Uptime: | 138:09:38 |
Calls: | 9,470 |
Calls today: | 1 |
Files: | 13,608 |
Messages: | 6,119,829 |