当安全 = 广告时 Winbind 不会启动

当安全 = 广告时 Winbind 不会启动

我在 ubuntu 服务器上安装了 samba 和 Winbind,其 smb.conf 如下

[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = WORKGROUP
   password server = 192.168.1.1
#  security = ADS
   winbind use default domain = yes


# This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no
   log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
   max log size = 1000

   syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d

   encrypt passwords = true

   passdb backend = tdbsam

   obey pam restrictions = yes

   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

   #pam password change = yes
   username map = /etc/samba/smbusers
   map to guest = bad user

如果我尝试取消“secutiry = ADS”,则重新启动 winbind 不会启动

答案1

您是否安装了配置 Kerberos 然后加入域等?

安全 = ADS

在此模式下,Samba 将充当 ADS 域中的域成员。要在此模式下运行,运行 Samba 的计算机需要安装和配置 Kerberos,并且需要使用 net 实用程序将 Samba 加入 ADS 域。

相关内容