我继承了一台 ubuntu 8.10 服务器,该服务器当前作为 samba 服务器和 apache web 服务器运行。我想用 ubuntu 19.10 创建一个新服务器,并将现有配置复制到该服务器上。我通常从头开始,从未配置过 samba 与 active directory 集成。smb.conf 中的这个配置是否足够?
# Global parameters
[global]
workgroup = domain
realm = domain.com
server string = %h NEWSAMBASERVER (Samba %v)
security = ADS
password server = domaincontroller.domain.com
#security = DOMAIN
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
username map = /etc/samba/smbusers
syslog = 0
max log size = 1000
name resolve order = wins host bcast
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
load printers = No
preferred master = No
local master = No
domain master = No
wins support = Yes
invalid users = root
hosts allow = 10.100., 127.
# printing = lprng
# lppause command = lpc hold '%p' %j
# lpresume command = lpc release '%p' %j
答案1
由于 Ubuntu 8 非常老旧,我觉得从头开始是更好的选择。