2 Samba 配置:“配置文件”参数失败

2 Samba 配置:“配置文件”参数失败

我正在尝试使用 2 个非常不同的配置创建 2 个单独的共享。我可以从同一个系统单独运行这两个共享,但不能同时运行。遗憾的是,我仍然有一些需要 NT1 的旧系统。我正尝试将其构建为 SMBv3 的代理。

询问:我缺少什么参数/设置来创建共享2 个独立的身份验证级别

基本的smb配置文件

[global]

config file = /etc/samba/mfg/smb.conf.%m

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = WORKGROUP
   server min protocol = NT1

引用正确的机器文件smb.conf.服务器

#======================= Global Settings =======================

[global]
   workgroup = NETBIOSDOMAIN
   dns proxy = no
   realm = mydomain.local
   security = ads
   password server = MYMASKEDDC01.mydomain.local
#   client signing = if_required
#   kerberos method = secrets and keytab

#### Debugging/Accounting ####


# This tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m
   log level = 5
   map to guest = bad user
   max log size = 1000

错误日志实际上指的是服务器的 IP,而不是实际的主机名。(怀疑?:这可能是我的确凿证据,因为它没有提取 NETBIOS 信息?)

[2023/01/17 12:55:56.513607,  3] ../../source3/smbd/smb2_server.c:3861(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_UNSUCCESSFUL] || at ../../source3/smbd/smb2_sesssetup.c:146
[2023/01/17 12:55:56.513904,  4] ../../source3/smbd/sec_ctx.c:319(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2023/01/17 12:55:56.513918,  4] ../../source3/smbd/sec_ctx.c:319(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2023/01/17 12:55:56.513925,  4] ../../source3/smbd/sec_ctx.c:319(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2023/01/17 12:55:56.513931,  4] ../../source3/smbd/sec_ctx.c:319(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2023/01/17 12:55:56.513939,  4] ../../source3/smbd/sec_ctx.c:319(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2023/01/17 12:55:56.514512,  3] ../../source3/smbd/server_exit.c:220(exit_server_common)
  Server exit (NT_STATUS_CONNECTION_RESET)

重申:如果我单独使用 smbv3 配置smb配置文件文件,一切都正确解析并且权限映射符合预期。

相关内容