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

[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


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *