Author Topic: Sharing WSeB Server drives to Win 10/11 Clients  (Read 2066 times)

ChrisGWarp

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
    • WarpSpeed Computers
Sharing WSeB Server drives to Win 10/11 Clients
« on: December 12, 2024, 04:05:50 am »
Hi Everyone,
I've virtualized my WSeB development box (from waaaaaay back) and my Windows NT 4.0 Server as well.
I can map (net use ... from windows) that works successfully, and I can even do a properties on the drive, but, a DIR fails. Mapping a drive and using a specified user, gives a different result entirely.

This is from a windows 11 client (Windows 10 was the same):


C:\Users\Chris>net use m: \\DEVELSMP\SMP-C
The command completed successfully.


C:\Users\Chris>dir m:
 Volume in drive M is OS2
 Volume Serial Number is 2D6E-F814

 Directory of M:\

File Not Found

C:\Users\Chris>net use m: /del
m: was deleted successfully.


C:\Users\Chris>net use m: \\DEVELSMP\SMP-C /user:Chris
Enter the password for 'Chris' to connect to 'DEVELSMP':
System error 5 has occurred.

Access is denied.


C:\Users\Chris>


However, things like viewing the shares of the OS2 host works:

C:\Users\Chris>net view \\DEVELSMP
Shared resources at \\DEVELSMP

SMP Development Machine

Share name  Type  Used as  Comment

-------------------------------------------------------------------------------
NETLOGON    Disk           Domain controller share
SMP-C       Disk           SMP Drive C:
SMP-D       Disk           SMP Drive D:
SMP-E       Disk           SMP Drive E:
SMP-F       Disk           SMP Drive F:
SMP-G       Disk           SMP Drive G:
SMP-H       Disk           SMP Drive H:
SMP-I       Disk           SMP Drive I: (CD-ROM)
The command completed successfully.


I'm guessing that there might be some SMB functions being called that the OS2 host does not recognise and is choking on.

Has anyone successfully mounted some OS2 Server drives (and Windows NT 4.0 for that matter too) from a modern Windows 10/11 client?

Ideally, I'd prefer to avoid Samba and stick with the base functionality, but (if I absolutely must, then I'll consider it).

Cheers,

-Chris

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2380
  • Karma: +183/-0
    • View Profile
Re: Sharing WSeB Server drives to Win 10/11 Clients
« Reply #1 on: December 12, 2024, 04:25:44 am »
Hey Chris,

later versions of windows have deprecated SMB1 and the legacy NTLM authentication. https://winsides.com/enable-smb-1-0-cifs-file-sharing-support-windows-11/ might help....

Roderick Klein

  • Hero Member
  • *****
  • Posts: 711
  • Karma: +14/-0
    • View Profile
Re: Sharing WSeB Server drives to Win 10/11 Clients
« Reply #2 on: December 12, 2024, 09:58:16 am »
Hey Chris,

later versions of windows have deprecated SMB1 and the legacy NTLM authentication. https://winsides.com/enable-smb-1-0-cifs-file-sharing-support-windows-11/ might help....

I tried that for years after Windows 7 and higher SMB 1 support is complete broken is my experience. I tested with a lot of LAN MAN settings in the registry but gave up.
SMB 1 support from Windows 10/11 seems to be to much broken. Maybe some magic registry setting can get it to work. But I spent long nights on this.

Roderick

ChrisGWarp

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
    • WarpSpeed Computers
Re: Sharing WSeB Server drives to Win 10/11 Clients
« Reply #3 on: December 12, 2024, 10:08:54 am »
Hey Guys,
Yes, it looks like they have broken things badly.
I can't tell if it's a function call or an auth error that is causing the issues (or an auth error caused by newer functionality).
Given the age of the systems, they probably removed any explicit support for them.
The SMB/CIFS stuff has been added and enabled.
Cheers,
-Chris

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1090
  • Karma: +27/-0
    • View Profile
    • Blonde Guy
Re: Sharing WSeB Server drives to Win 10/11 Clients
« Reply #4 on: December 12, 2024, 03:20:32 pm »
For all its faults, SAMBA networks pretty well with Windows. Also with Mac, Linux, iOS. I was kind-of hoping you would get SMB1/NTLM working in a recent Windows, but I'm not surprised that it isn't.
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2380
  • Karma: +183/-0
    • View Profile

ChrisGWarp

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
    • WarpSpeed Computers
Re: Sharing WSeB Server drives to Win 10/11 Clients
« Reply #6 on: December 15, 2024, 04:05:08 am »
Well, that sums it up:

NTLMv1 is removed starting in Windows 11, version 24H2

And I'd only upgraded to W11 24H2 last week. This was one of the final tests that I wanted to perform.

Can I roll back a Windows 11 upgrade back to Windows 10? The command prompt still reports at Windows V10 ????

-Chris

ChrisGWarp

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
    • WarpSpeed Computers
Re: Sharing WSeB Server drives to Win 10/11 Clients
« Reply #7 on: December 15, 2024, 04:09:46 am »
As if to rub salt into the wound, I just successfully mounted an OS/2 Server drive from an XP VM. And a DIR worked.

So, yes, it looks like the removal of NTLM is what's causing the issues.

And all I wanted to do was to run an A/V scan using a modern tool against the old VM's - god knows what I'd find.

Thanks all for your help everyone! :)

-Chris

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5181
  • Karma: +118/-1
    • View Profile
Re: Sharing WSeB Server drives to Win 10/11 Clients
« Reply #8 on: December 15, 2024, 05:49:32 am »

Can I roll back a Windows 11 upgrade back to Windows 10? The command prompt still reports at Windows V10 ????

-Chris

You have a week before Windows cleans up and you can't

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2380
  • Karma: +183/-0
    • View Profile
Re: Sharing WSeB Server drives to Win 10/11 Clients
« Reply #9 on: December 15, 2024, 07:08:51 am »
And all I wanted to do was to run an A/V scan using a modern tool against the old VM's - god knows what I'd find.

You could try clamav?