码迷,mamicode.com
首页 > 其他好文 > 详细

ldap

时间:2018-04-27 23:01:52      阅读:232      评论:0      收藏:0      [点我收藏+]

标签:enable   conf   aot   ldap   ast   autofs   gtk   master   stat   

客户端配置

yum -y install authconfig krb5-workstati sssd

 

authconfig-gtk

id ldapuser8    /测试

 

 

自动挂载

yum -y install autofs

vim /etc/autu.master

加入挂载点

/home/guests  /etc/auto.ldap

挂载到      使用这个文件挂载

 

cp  -p  /etc/aotu.misc /etc/auto.ldap

vim /etc/auto.ldap

7行加入 *      -fstype=nfs,rw,v3  classroom.example.com:/home/guests/&

 

systemctl enable autofs

systemctl start autofs

 

测试: su - ldapuser8

pwd

df -Th

ldap

标签:enable   conf   aot   ldap   ast   autofs   gtk   master   stat   

原文地址:https://www.cnblogs.com/vgzihs/p/8964804.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!