2024年11月24日星期日 下午8:11:03

Windows server 2016-给共享文件服务器安装AD活动目录,不要提升为域控制器

2 年 前
#16489 引用
SMB

Server Message Block (SMB) is a network transport protocol for file systems operations to enable a client to access resources on a server. The primary purpose of the SMB protocol is to enable remote file system access between two systems over TCP/IP.

SMB (Server Message Block) is a client/server protocol that governs access to files and whole directories, as well as other network resources like printers, routers or interfaces open to the network.

SMB troubleshooting can be extremely complex.

服务器消息块 (SMB) 是受许多 Microsoft 操作系统支持的一种资源共享协议。

它是网络基本输入/输出系统 (NetBIOS) 和许多其他协议的基础。

SMB 签名对用户和承载数据的服务器都进行身份验证。 如果任何一方未能通过身份验证过程,则不发生数据传输。



https://support.microsoft.com/zh-cn/topic/%E5%A6%82%E6%9E%9C%E6%82%A8%E6%9B%B4%E6%94%B9%E5%AE%89%E5%85%A8%E8%AE%BE%E7%BD%AE%E5%92%8C%E7%94%A8%E6%88%B7%E6%9D%83%E9%99%90%E5%88%86%E9%85%8D-%E5%88%99%E5%8F%AF%E8%83%BD%E4%BC%9A%E5%AF%BC%E8%87%B4%E5%AE%A2%E6%88%B7%E7%AB%AF-%E6%9C%8D%E5%8A%A1%E5%92%8C%E7%A8%8B%E5%BA%8F%E9%97%AE%E9%A2%98%E5%8F%91%E7%94%9F-0cb6901b-dcbf-d1a9-e9ea-f1b49a56d53a


在 Windows 95、Windows 98 和 Windows 98 Second Edition 中,目录服务客户端在通过 NTLM 身份验证向
Windows Server 2003 服务器验证身份时使用 SMB 签名


Microsoft SMB Protocol Authentication



The security model used in Microsoft SMB Protocol is identical to the one used by other variants of SMB, and consists of two levels of security—user and share. A share is a file, directory, or printer that can be accessed by Microsoft SMB Protocol clients.

User-level authentication indicates that the client attempting to access a share on a server must provide a user name and password. When authenticated, the user can then access all shares on a server not also protected by share-level security. This security level allows system administrators to specifically determine which users and groups can access a share.

Share-level authentication indicates that access to a share is controlled by a password assigned to that share only. Unlike user-level security, this security level does not require a user name for authentication and no user identity is established.

Under both of these security levels, the password is encrypted before it is sent to the server. NTLM and the older LAN Manager (LM) encryption are supported by Microsoft SMB Protocol. Both encryption methods use challenge-response authentication, where the server sends the client a random string and the client returns a computed response string that proves the client has sufficient credentials for access.

https://learn.microsoft.com/en-us/windows/win32/fileio/microsoft-smb-protocol-authentication


The SMB Server (SRV) refers to the system that is hosting the file system, also known as the file server. The SMB Client (CLI) refers to the system that is trying to access the file system, regardless of the OS version or edition.


For example, if you use Windows Server 2016 to reach an SMB share that is hosted on Windows 10, Windows Server 2016 is the SMB Client and Windows 10 the SMB Server.
0
2 年 前
#16490 引用
Windows 2000 SMB 身份验证协议支持相互身份验证。 相互身份验证可阻止“中间人”攻击。 Windows 2000 SMB 身份验证协议还支持消息身份验证。 消息身份验证可帮助阻止活动消息攻击。 为了提供此身份验证,SMB 签名将向每个 SMB 中放入数字签名。 客户端和服务器会分别验证此数字签名。


Windows Server 2016

Windows Server 2016 在到默认的 Active Directory 域服务 SYSVOL 和 NETLOGON 的 Windows 10 和 Windows Server 2016 客户端连接中,域控制器上的共享现在要求 SMB 签名和相互身份验证(例如 Kerberos)。

如果 SMB 签名和相互身份验证都不可用,Windows 10 或 Windows Server 2016 计算机不会处理基于域的组策略和脚本。




Windows Server 2016工作文件夹:

改进了工作文件夹服务器正在运行 Windows Server 2016 并且工作文件夹客户端是 Windows 10 时的更改通知。

价值:

对于 Windows Server 2012 R2,当文件更改同步到工作文件夹服务器上时,不向客户端通知这一更改并等待 10 分钟获取更新。 在使用 Windows Sever 2016 时,工作文件夹服务器会立即通知 Windows 10 客户端并立即同步文件更改。

工作原理的不同:

此功能是 Windows Server 2016 的新增功能。 这要求 Windows Server 2016 工作文件夹服务器和客户端必须是 Windows 10。

如果你使用的是较旧客户端或工作文件夹服务器为 Windows Server 2012 R2,则客户端将继续每 10 分钟轮询一次更改。

0
2 年 前
#16491 引用
在运行 Windows 2000 Server、Windows 2000 Professional、Windows XP Professional 或 Windows Server 2003 的计算机中,用于文件共享和打印共享的 SMB 协议支持相互身份验证。
0
2 年 前
#16567 引用
SMB 3

Overview of file sharing using the SMB 3 protocol in Windows Server

The Server Message Block (SMB) protocol is a network file sharing protocol that allows applications on a computer to read and write to files and to request services from server programs in a computer network. The SMB protocol can be used on top of its TCP/IP protocol or other network protocols. Using the SMB protocol, an application (or the user of an application) can access files or other resources at a remote server. This allows applications to read, create, and update files on the remote server. SMB can also communicate with any server program that is set up to receive an SMB client request. SMB is a fabric protocol that is used by Software-defined Data Center (SDDC) computing technologies, such as Storage Spaces Direct, Storage Replica. For more information, see Windows Server software-defined datacenter.

https://learn.microsoft.com/en-us/windows-server/storage/file-server/file-server-smb-overview
0
2 年 前
#16568 引用
Detect smb

Windows 10

PowerShell

Get-SmbServerConfiguration | Select EnableSMB1Protocol


output




PS C:\Windows\system32> Get-SmbServerConfiguration


AnnounceComment                 :
AnnounceServer                  : False
AsynchronousCredits             : 64
AuditSmb1Access                 : False
AutoDisconnectTimeout           : 15
AutoShareServer                 : True
AutoShareWorkstation            : True
CachedOpenLimit                 : 10
DurableHandleV2TimeoutInSeconds : 180
EnableAuthenticateUserSharing   : False
EnableDownlevelTimewarp         : False
EnableForcedLogoff              : True
EnableLeasing                   : True
EnableMultiChannel              : True
EnableOplocks                   : True
EnableSecuritySignature         : False
EnableSMB1Protocol              : False
EnableSMB2Protocol              : True
EnableStrictNameChecking        : True
EncryptData                     : False
IrpStackSize                    : 15
KeepAliveTime                   : 2
MaxChannelPerSession            : 32
MaxMpxCount                     : 50
MaxSessionPerConnection         : 16384
MaxThreadsPerQueue              : 20
MaxWorkItems                    : 1
NullSessionPipes                :
NullSessionShares               :
OplockBreakWait                 : 35
PendingClientTimeoutInSeconds   : 120
RejectUnencryptedAccess         : True
RequireSecuritySignature        : False
ServerHidden                    : True
Smb2CreditsMax                  : 2048
Smb2CreditsMin                  : 128
SmbServerNameHardeningLevel     : 0
TreatHostAsStableStorage        : False
ValidateAliasNotCircular        : True
ValidateShareScope              : True
ValidateShareScopeNotAliased    : True
ValidateTargetName              : True




https://learn.microsoft.com/en-us/windows-server/storage/file-server/file-server-smb-overview
0
2 年 前
#16569 引用
Windows server 2016




PS C:\Users\Administrator.SERVERT> Get-SmbServerConfiguratio


AnnounceComment                 :
AnnounceServer                  : False
AsynchronousCredits             : 512
AuditSmb1Access                 : False
AutoDisconnectTimeout           : 15
AutoShareServer                 : True
AutoShareWorkstation            : True
CachedOpenLimit                 : 10
DurableHandleV2TimeoutInSeconds : 180
EnableAuthenticateUserSharing   : False
EnableDownlevelTimewarp         : False
EnableForcedLogoff              : True
EnableLeasing                   : True
EnableMultiChannel              : True
EnableOplocks                   : True
EnableSecuritySignature         : False
EnableSMB1Protocol              : True
EnableSMB2Protocol              : True
EnableStrictNameChecking        : True
EncryptData                     : False
IrpStackSize                    : 15
KeepAliveTime                   : 2
MaxChannelPerSession            : 32
MaxMpxCount                     : 50
MaxSessionPerConnection         : 16384
MaxThreadsPerQueue              : 20
MaxWorkItems                    : 1
NullSessionPipes                :
NullSessionShares               :
OplockBreakWait                 : 35
PendingClientTimeoutInSeconds   : 120
RejectUnencryptedAccess         : True
RequireSecuritySignature        : False
ServerHidden                    : True
Smb2CreditsMax                  : 8192
Smb2CreditsMin                  : 512
SmbServerNameHardeningLevel     : 0
TreatHostAsStableStorage        : False
ValidateAliasNotCircular        : True
ValidateShareScope              : True
ValidateShareScopeNotAliased    : True
ValidateTargetName              : True



0
2 年 前
#16570 引用
File Server Resource Manager


File Server Resource Manager includes the following features:

Quota management allows you to limit the space that is allowed for a volume or folder

https://learn.microsoft.com/en-us/windows-server/storage/fsrm/fsrm-overview
0
2 年 前
#16571 引用
Offline Files

Offline Files makes network files available to a user, even if the network connection to the server is unavailable or slow. When working online, file access performance is at the speed of the network and server. When working offline, files are retrieved from the Offline Files folder at local access speeds. A computer switches to Offline Mode when:
Always Offline mode has been enabled
The server is unavailable
The network connection is slower than a configurable threshold
The user manually switches to Offline Mode by using the Work offline button in Windows Explorer

Roaming User Profiles redirects user profiles to a file share so that users receive the same operating system and application settings on multiple computers. When a user signs in to a computer by using an account that is set up with a file share as the profile path, the user's profile is downloaded to the local computer and merged with the local profile (if present). When the user signs out of the computer, the local copy of their profile, including any changes, is merged with the server copy of the profile. Typically, a network administrator enables Roaming User Profiles on domain accounts.

https://learn.microsoft.com/en-us/windows-server/storage/folder-redirection/folder-redirection-rup-overview
0
2 年 前
#16572 引用
Always Offline mode

Starting with Windows 8 and Windows Server 2012, administrators can configure the experience for users of Offline Files to always work offline, even when they are connected through a high-speed network connection. Windows updates files in the Offline Files cache by synchronizing hourly in the background, by default.
0
2 年 前
#16573 引用
SMB    由 windows server 2016  install  file  server 提供

客户端需认证登录

协议版本

加密方式

离线文件配置
0