Joining CentOS 6/7 servers to Active Directory 2012r2

Issues related to configuring your network
Post Reply
supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Joining CentOS 6/7 servers to Active Directory 2012r2

Post by supertight » 2017/04/14 04:44:22

I'm having some problems getting my CentOS servers to join the windows server 2012r2 AD DC.

I cant get my cent 6 or 7 machines to find the realm.

realm discover -v:

Code: Select all

No default domain received via dhcp
However I do have the domain listed in /etc/dhcp/dhcpd.conf

I'm not sure where to go next. Any help is appreciated.

supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Re: Joining CentOS 6/7 servers to Active Directory 2012r2

Post by supertight » 2017/04/14 20:14:07

supertight wrote:I'm having some problems getting my CentOS servers to join the windows server 2012r2 AD DC.

I cant get my cent 6 or 7 machines to find the realm.

realm discover -v:

Code: Select all

No default domain received via dhcp
However I do have the domain listed in /etc/dhcp/dhcpd.conf

I'm not sure where to go next. Any help is appreciated.
**Edit**
reconfigured dhcp and samba. no luck.

# realm -v discover :

Code: Select all

* Resolving: _ldap._tcp.nbseven.info
 * Resolving: nbseven.info
 * No results: nbseven.info
realm: No default realm discovered
# realm join --client-software=winbind --user=user@nbseven.info nbseven.info:

Code: Select all

realm: No such realm found
The windows 7 client machines can connect to the domain. I can't get my CentOS servers to connect.

I've been using this tutorial and searching the web for common hang-ups.
http://www.hexblot.com/blog/centos-7-ac ... -and-samba

Thanks for reading.

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: Joining CentOS 6/7 servers to Active Directory 2012r2

Post by hunter86_bg » 2017/04/15 04:02:49

As CentOS is rebuild from the source of RHEL ,you should awlays check RedHat's documentation.
Here is a link for integration with windows:Windows Integration guide

supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Re: Joining CentOS 6/7 servers to Active Directory 2012r2

Post by supertight » 2017/04/15 04:38:45

hunter86_bg wrote:As CentOS is rebuild from the source of RHEL ,you should awlays check RedHat's documentation.
Here is a link for integration with windows:Windows Integration guide
Ok. Thank you. I'll start reading.

Post Reply