使用 Samba 4 实现 Active Directory 认证与 Linux 高可用性机制
1. 使用 Samba 4 搭建 Active Directory 域控制器
要使用 Samba 4 搭建与 Microsoft Active Directory 兼容的域控制器,可按以下步骤操作:
1. 安装 Samba 域控制器包 :
sudo dnf install samba-dc
- 移除 Samba 和 Kerberos 守护进程的配置文件 :
sudo rm -f /etc/samba/smb.conf
sudo rm -f /etc/krb5.conf
- 自动配置域控制器 :
sudo samba-tool domain provision --option="interfaces=vboxnet0" --option="bind interfaces only=yes" --use-rfc2307 --interactive
在交互过程中,需要输入以下信息:
- Realm: AD.EXAMPLE.COM
超级会员免费看
订阅专栏 解锁全文

2170

被折叠的 条评论
为什么被折叠?



