jam*_*jam 4 windows linux samba network-shares
我在 Linux 机器上设置了一个 samba 共享,如果他们关闭Microsoft 网络客户端,则只能从 Windows 访问该共享:数字签名通信(始终)
他们希望我配置 linux 端的东西,以允许他们在启用此设置的情况下进行连接。要让 Windows 用户在不关闭/关闭任何安全选项的情况下访问此共享,我至少需要做什么?
可能的相关资料:
这是我的 smb.conf:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2012-02-03
[global]
workgroup = $WINDOWS_DOMAIN_NAME
passdb backend = tdbsam
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = No
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = No
security = domain
idmap gid = 10000-20000
idmap uid = 10000-20000
wins support = No
wins server =
encrypt passwords = yes
[$shareName]
comment = linux share
inherit acls = Yes
path = /home/$user/$shareName
read only = No
available = yes
browseable = yes
public = yes
writable = yes
Run Code Online (Sandbox Code Playgroud)
当他们当前尝试访问共享时,/var/log/messages 中的错误如下:
linux smbd[3336]: [2014/01/24 11:23:25.214046, 0] rpc_client/cli_pipe_schannel.c:54(get_schannel_session_key_common)
linux smbd[3336]: get_schannel_session_key: could not fetch trust account password for domain '$WINDOWS_DOMAIN_NAME'
linux smbd[3336]: [2014/01/24 11:23:25.216148, 0] rpc_client/cli_pipe_schannel.c:184(cli_rpc_pipe_open_schannel)
linux smbd[3336]: cli_rpc_pipe_open_schannel: failed to get schannel session key from server $DOMAIN_CONTROLLER for domain $WINDOWS_DOMAIN_NAME.
linux smbd[3336]: [2014/01/24 11:23:25.219196, 0] auth/auth_domain.c:193(connect_to_domain_password_server)
linux smbd[3336]: connect_to_domain_password_server: unable to open the domain client session to machine $DOMAIN_CONTROLLER. Error was : NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
Run Code Online (Sandbox Code Playgroud)
您在 /etc/samba/smb.conf 文件中缺少两个关键语句:
server signing = auto
client signing = auto
Run Code Online (Sandbox Code Playgroud)
这应该这样做。
归档时间: |
|
查看次数: |
12634 次 |
最近记录: |