Winbind

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])

[[email protected]]# 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

[[email protected]]# net ads join -U administrator

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.