
Windows가 꺼진 경우에만 Windows에서 액세스할 수 있는 Linux 상자에 삼바 공유가 설정되어 있습니다.Microsoft 네트워크 클라이언트: 디지털 서명 통신(항상)
그들은 이 설정이 활성화된 상태로 연결할 수 있도록 Linux 끝 부분을 구성하기를 원합니다. Windows 사용자가 보안 옵션을 끄거나 끄지 않고 이 공유에 액세스하려면 최소한 무엇을 해야 합니까?
아마도 관련 정보:
- Linux 상자는 SLES 11 SP2 및 Samba 3.6.3을 실행 중입니다.
- Windows 상자에서는 Active Directory가 포함된 Windows Server 2008을 실행하고 있습니다.
이것은 내 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
현재 공유에 액세스하려고 하면 /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.
답변1
/etc/samba/smb.conf 파일에 두 가지 핵심 문이 누락되었습니다.
server signing = auto
client signing = auto
이렇게 하면 됩니다.