[CentOS] Centos 7 - AD authentication

Fri Jul 25 20:42:08 UTC 2014
Chris Beattie <cbeattie at geninfo.com>

On 7/25/2014 10:34 AM, Nux! wrote:
> This is very simple in the new CentOS 7:
> 
> realm join –client-software=sssd example.com -U mydomainadmin

I just tried it, and it really is MUCH simpler than it used to be.

I had to install realmd first, which actually told me what other packages I'd need that weren't actual dependencies (samba-common, oddjob, sssd, and a couple others).  Then I ran Nux!'s command.

I also needed to permit a user to log in (maybe because I didn't reboot), but the example in RH's integration guide (section 3.4) didn't work for me.  I figured out that "realm permit user at domain.com" did the trick, and I could log in to the console as user at domain.com or via ssh as user at domain.com@hostname.

Two lines (not counting installing the packages) was all it took.

-- 
-Chris