Friday, April 11, 2014

Join CentOS to active directory domain 2008R2

Join CentOS to active directory domain 2008R2
Joining a Linux Server to a windows domain is one of the more advanced tasks in Linux administration, however can be accomplished with the help of a few simple tools
login as root

install the per-requisites

once installed, the fun can begin, open authconfig-tui util

configure exactly as shown on the screen

now part 2 (customize for your domain)

make sure it’s not set to /sbin/nologin otherwise domain users will not have shell access

save the config (unless you like typing)
now enter your windows domain administrator password (only works with administrator)

sweet! Joined the domain successfully

now from here reboot – of course with anything related to windows :)
you should notice a object in Active Directory Users & Computers

to login as a domain user use the following DOMAIN/username

now we’re cook’n with gas!
from this point on Users/Groups are referenced user@DOMAIN, and groups are DomainAdmins@DOMAIN (if you are doing samba shares)

that’s it!

No comments:

Post a Comment