Nп/п : 2 из 100
 От   : pinnerite                           2:5075/128        20 июл 23 18:59:55
 К    : pinnerite                                             20 июл 23 21:00:27
 Тема : Re: Samba and Windows 10
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
<20230720185955.e193a61cb73954c940673a34@gmail.com> 6701a224
@REPLY:
<20230718182649.ba3a2765fc63dd40c286024a@gmail.com> c2fe0f9c
@REPLYADDR pinnerite <pinnerite@gmail.com>
@REPLYTO 2:5075/128 pinnerite
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<20230720185955.e193a61cb73954c940673a34@gmail.com>
<20230717210521.86130f8c4336fbd2a7d1c42c@gmail.com>1@dont-email.me
><20230718073514.e66db53de5f32efce7feaf32@gmail.com> e><20230718182649.ba3a2765fc63dd40c286024a@gmail.com>
@TZUTC: 0100
@TID: FIDOGATE-5.12-ge4e8b94
On Tue, 18 Jul 2023 18:26:49 +0100
pinnerite <pinnerite@gmail.com> wrote:

> 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  CRUISE 00:00:00:00:00:00 Linux
physical box
 > > 192.168.1.2 WALLACE   2c:f0:12:34:56:78 Windows
physical box
> > 192.168.1.255Sendto 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.

--- Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 * Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх