Last active
August 29, 2015 14:25
-
-
Save ruzickap/3bbc10379b542b1feb2d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Turn OFF Firewall | |
chkconfig firewalld off | |
service firewalld stop | |
echo "192.168.122.46 centos7-client.ec.example.com centos7-client" >> /etc/hosts | |
# Change DNS server to 192.168.122.247 (ad.example.com) | |
cat >> /etc/dhcp/dhclient-eth0.conf << EOF | |
supersede domain-name-servers 192.168.122.247; | |
supersede domain-search "ec.example.com"; | |
EOF | |
service network restart | |
yum install -y ipa-client | |
# Register to IPA (there is automatic discovery of IPA IP via DNS) | |
ipa-client-install -w secret --mkhomedir | |
--- | |
# DNS checks | |
dig SRV _ldap._tcp.example.com | |
dig SRV _ldap._tcp.ec.example.com | |
kinit admin | |
smbclient -L ipa.ec.example.com -k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment