标签:samba ad active directory domain controller
1 环境配置
1.1 名称解析配置
1.1.1 hosts方式
编辑hosts
vim /etc/hosts
输入如下内容:
10.168.0.201 ad.cmdschool.org
1.1.2 DNS服务器方式
echo "nameserver 10.168.0.201" >> /etc/resolv.conf
1.2 NTP配置
1.2.1 rpm包的安装
yum install -y chrony
1.2.2 配置NTP服务器
1)指定内网的NTP服务器
vim /etc/chrony.conf
更改如下配置
#server 0.rhel.pool.ntp.org iburst #server 1.rhel.pool.ntp.org iburst #server 2.rhel.pool.ntp.org iburst #server 3.rhel.pool.ntp.org iburst server ad.cmdschool.org iburst
2)启动服务
并配置开机自启动
/etc/init.d/chronyd start
3)同步时间
chronyc sources chkconfig chronyd on
2 认证部分安装
yum install -y krb5*
3 samba服务安装
yum install -y samba4*
---------------------------------------------
参阅文档
----------
用户文档:
https://wiki.samba.org/index.php/Main_Page
企业samba的安装包:
https://samba.plus/older-packages/
https://samba.plus/samba-3/red-hats-rhel/
http://ftp.sernet.de/pub/samba/3.4/rhel/6/x86_64/
配置samba成为域成员:
https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member
配置一个sambaAD域控制器:
https://wiki.samba.org/index.php/Setup_a_Samba_Active_Directory_Domain_Controller
加一个额外的DC到现有的活动目录:
https://wiki.samba.org/index.php/Join_an_additional_Samba_DC_to_an_existing_Active_Directory
-----------
非官方资料:
-----------
http://icedot.blog.51cto.com/61369/1293327
http://www.mianfeiwendang.com/doc/bc173276b7690f6b834719e5/2
本文出自 “老谭linux集群博客” 博客,请务必保留此出处http://cmdschool.blog.51cto.com/2420395/1829675
标签:samba ad active directory domain controller
原文地址:http://cmdschool.blog.51cto.com/2420395/1829675