Integrating AD logins to RHEL6
- Use yum to install samba-winbind
- Use authconfig to configure winbind, best not to update the pam files directly. (First, authconfig –savebackup [name])
[root@example]# authconfig –enablewinbind –enablewinbindauth –smbsecurity=ads –smbrealm=your.domain.local –smbservers=dc.your.domain.local –smbworkgroup=WORKGROUP –smbidmapuid=10000-20000 –smbidmapgid=10000-20000 —
winbindtemplatehomedir=/home/%D/%U –winbindtemplateshell=/bin/bash –enablewinbindusedefaultdomain –winbindtemplatepri
marygroup=%U –enablemkhomedir –updateall
- Add the server to the domain
[root@example]# net ads join -U administrator
Leave a Reply