Joining RedHat Servers to Active Directory

Posted on Updated on

Joining Redhat servers to AD domain

yum install samba3x
yum install winbind

vim /etc/nsswitch

passwd: files winbind
shadow: files winbind
group: files winbind

vim /etc/samba/smb.conf

workgroup = DOMAINNAME
password server = x.x.x.x
security = ads
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind separator = +
template homedir = /home/%D/%U
template shell = /bin/bash
winbind use default domain = false
winbind offline logon = false

net ads join -U


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s