LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 03-20-2021, 09:16 AM   #1
Sheriff Hobbes
LQ Newbie
 
Registered: Nov 2010
Location: Germany (DDR 4.0)
Distribution: Debian 11
Posts: 24

Rep: Reputation: 5
Windows NT fails to mount Samba share


Hello,

I have just migrated from CentOS 7.6 to Oracle Linux 8.3. I'm running a Windows NT 4 virtual machine with KVM. It had a drive mapped to a Samba share on the KVM host. Everything was fine with CentOS 7.6, but the very same VM gives me a

Quote:
No More Connections Can Be Made To This Remote Computer at this Time
with the new OL installation.
Even older Linux distributions like Debian 8 refused to connect with the default settings. For security reasons the option "vers=3.0" had to be passed. That's why I believe that the WinNT problem is also related to some security setting. What I already could exclude from the root cause list:
  • SELinux
  • Firewall
  • several registry hacks on the Windows side
Any ideas how to tell Samba to use lower security for that one share?

Thanks,
SH

P.S.: Please, no jokes about me still running Windows NT
 
Old 03-20-2021, 09:36 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
CentOS 7.x still runs samba version 4.10 something but as of samba version 4.11 SMB V1 was removed. CentOS 8 runs version 4.11.2 so I assume OL 8 does as well.

There isn't a way to use a lower protocol unless you install an older version.

Last edited by michaelk; 03-20-2021 at 09:46 AM.
 
1 members found this post helpful.
Old 03-20-2021, 09:42 AM   #3
Sheriff Hobbes
LQ Newbie
 
Registered: Nov 2010
Location: Germany (DDR 4.0)
Distribution: Debian 11
Posts: 24

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by michaelk View Post
There isn't a way to use a lower protocol unless you install an older version.
Really? So I will never get my NT-share back?

This surprises me because I've looked into the manpage of the new installation and it still mentions SMB V1 without restrictions.
 
Old 03-20-2021, 09:56 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
I am wrong... My memory isn't as good as it used to be.

It is disabled but not removed. In your smb.conf global set client min protocol and server min protocol = NT1.
 
1 members found this post helpful.
Old 03-20-2021, 12:20 PM   #5
Sheriff Hobbes
LQ Newbie
 
Registered: Nov 2010
Location: Germany (DDR 4.0)
Distribution: Debian 11
Posts: 24

Original Poster
Rep: Reputation: 5
michaelk, you're my hero, it's working again!
Btw, the option "client min protocol = NT1" isn't necessary.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mount samba share on Slackware: mount error(6) from mount.cifs frushiyama Slackware 11 01-22-2015 07:12 PM
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 11:28 AM
mount NFS to mount point then share out the mount point ionic_slim Linux - Networking 2 04-20-2008 12:17 PM
show the samba share but can't mount the share badall Linux - Server 3 05-30-2007 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration