解決策 1:
これで問題は解決しました:
<ブロック引用>
Windows 10 は、Samba4 がまだサポートしていない SMB3_11 をネゴシエートしようとします。
現在の 4.3 リリース候補を除きます。私は今のところ無効にしていると思います
Windows 10 クライアントの SMB2/3 は、理想的ではないにしても、最良のオプションです。
行うための手順。これを見つけることができます
こちら:https://support.microsoft.com/en-us/kb/2696547
https://lists.samba.org/archive/samba/2015-September/193886.html
さらに読む:
- 上記の MSKB:Microsoft サポート、KB2696547:Windows および Windows Server で SMBv1、SMBv2、SMBv3 を検出、有効化、無効化する方法
解決策 2:
Windows 7 ~ 10 および Server 2012 で動作するソリューションがあると思います
私の場合、「smb ports 139」という行をコメントアウトすると役に立ちました。
Samba 4.4.5 で FreeBSD 10 を使用しています
これが私の SMB4.conf のコピーです。誰かの役に立てば幸いです。
[global]
netbios name = SERV
server string = FreeBSD Samba Server
security = ADS
workgroup = FFTPJ
realm = fftpj.local
log file = /var/log/samba4/%m.log
log level = 1
# Default idmap config used for BUILTIN and local windows accounts/groups
idmap config *:backend = tdb
idmap config *:range = 2000-9999
# idmap config for domain FFTPJ
idmap config DOMAIN:backend = rid
idmap config DOMAIN:range = 10000-99999
# Use template settings for login shell and home directory
winbind nss info = template
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = yes
client use spnego = yes
client ntlmv2 auth = yes
encrypt passwords = yes
restrict anonymous = 2
valid users = @"Domain Users
# **** When smb ports is Set Windows 10 clients cannot connect
#smb ports = 139
load printers = No
disable spoolss = Yes
local master = No
hide dot files = No
wide links = No
store dos attributes = yes
vfs objects = acl_xattr
map acl inherit = yes
[images]
comment = Images Drive
path = /images
read only = No
[backups]
comment = Backup Drive
path = /data/backup
read only = No
解決策 3:
問題:Windows は最新の Windows OS で SMB v1 プロトコルを削除しました。Linux は v1 プロトコルで接続しようとし、Windows/Linux はプロトコル 2、3 などの試行に失敗します。
解決策:Linux (ubuntu) Samba conf ファイルを編集します:
sudo nano /etc/samba/smb.conf
[GLOBAL] セクションに次を追加:
クライアント最小プロトコル =SMB2
クライアントの最大プロトコル =SMB3
ファイルを保存して Samba を再起動
私の場合、パスワードまたは Samba ユーザーを明示的に入力する必要もありましたが、それは私固有のシステムの問題だったと思います。
解決策 4:
デフォルトに関連する他の意見に同意します Windows 10 での設定 クライアントとして。とにかく、なしで動作しました クライアント側での変更 グローバルでこの設定を使用 Samba サーバーのセクション (samba-4.7.1-9.el7_5.x86_64 - CentOs 7 のリポジトリ バージョン):
[global]
workgroup = <workgroup>
realm = <realm>
server string = FileShare server
netbios name = <nbname>
interfaces = lo eth0 <...>
hosts allow = 127. 192.168.0. <...>
log file = /var/log/samba/log.%m
max log size = 10240
security = user
map to guest = Bad Password
usershare allow guests = No
server signing = auto
passdb backend = tdbsam
local master = yes
vfs objects = acl_xattr
map acl inherit = yes
store dos attributes = yes
winbind nss info = template
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = yes
client use spnego = yes
client ntlmv2 auth = yes
encrypt passwords = yes
local master = No
hide dot files = No
allow insecure wide links = yes
store dos attributes = yes