{"id":492,"date":"2018-09-15T17:47:06","date_gmt":"2018-09-15T17:47:06","guid":{"rendered":"http:\/\/www.linuxauthority.com\/wordpress\/?p=492"},"modified":"2018-09-16T17:07:49","modified_gmt":"2018-09-16T17:07:49","slug":"ldap-integration","status":"publish","type":"post","link":"https:\/\/www.linuxauthority.com\/wordpress\/?p=492","title":{"rendered":"LDAP integration"},"content":{"rendered":"\n<!-- ALL ADSENSE ADS DISABLED -->\n<p>The time has come for LDAP<\/p>\n<p>The classroom server has been set up with ipa-server and ldapusers with password is password.<\/p>\n<p>Some of the setup on my server1 box was done in the infrastructure article part 2.<\/p>\n<p>ipa-client-install install was used earlier we pulled it out to create this content with a re-install.<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.20.20-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-498\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.20.20-AM.png\" alt=\"\" width=\"2002\" height=\"914\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.20.20-AM.png 2002w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.20.20-AM-300x137.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.20.20-AM-768x351.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.20.20-AM-1024x468.png 1024w\" sizes=\"(max-width: 2002px) 100vw, 2002px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.23.21-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-499\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.23.21-AM.png\" alt=\"\" width=\"1384\" height=\"130\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.23.21-AM.png 1384w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.23.21-AM-300x28.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.23.21-AM-768x72.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.23.21-AM-1024x96.png 1024w\" sizes=\"(max-width: 1384px) 100vw, 1384px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.25.39-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-500\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.25.39-AM.png\" alt=\"\" width=\"2004\" height=\"758\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.25.39-AM.png 2004w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.25.39-AM-300x113.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.25.39-AM-768x290.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.25.39-AM-1024x387.png 1024w\" sizes=\"(max-width: 2004px) 100vw, 2004px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.26.49-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-501\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.26.49-AM.png\" alt=\"\" width=\"2008\" height=\"506\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.26.49-AM.png 2008w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.26.49-AM-300x76.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.26.49-AM-768x194.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.26.49-AM-1024x258.png 1024w\" sizes=\"(max-width: 2008px) 100vw, 2008px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.28.29-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-502\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.28.29-AM.png\" alt=\"\" width=\"2022\" height=\"1154\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.28.29-AM.png 2022w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.28.29-AM-300x171.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.28.29-AM-768x438.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.28.29-AM-1024x584.png 1024w\" sizes=\"(max-width: 2022px) 100vw, 2022px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.32.19-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-503\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.32.19-AM.png\" alt=\"\" width=\"2016\" height=\"1102\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.32.19-AM.png 2016w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.32.19-AM-300x164.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.32.19-AM-768x420.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-9.32.19-AM-1024x560.png 1024w\" sizes=\"(max-width: 2016px) 100vw, 2016px\" \/><\/a><\/p>\n<p>The passwords expired. I will reset on the server and try again.<\/p>\n<p>Fix the firewall and try again:<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.38.06-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-531\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.38.06-PM.png\" alt=\"\" width=\"2024\" height=\"406\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.38.06-PM.png 2024w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.38.06-PM-300x60.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.38.06-PM-768x154.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.38.06-PM-1024x205.png 1024w\" sizes=\"(max-width: 2024px) 100vw, 2024px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.46.51-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-532\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.46.51-PM.png\" alt=\"\" width=\"2018\" height=\"1150\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.46.51-PM.png 2018w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.46.51-PM-300x171.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.46.51-PM-768x438.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-15-at-1.46.51-PM-1024x584.png 1024w\" sizes=\"(max-width: 2018px) 100vw, 2018px\" \/><\/a><\/p>\n<p>There are\u00a0 number of steps that had to be done. I had to do them on my test server because I had no good guide on how to set that up. Are all these steps necessary? Probably not. But doing them will get you the points on the test.<\/p>\n<p><strong>yum -y install nfs rpcbind nfs-utils<\/strong><\/p>\n<p><strong>systemctl enable nfs<\/strong><\/p>\n<p><strong>systemctl enable rpcbind<\/strong><\/p>\n<p><strong>systemctl enable nfslock<\/strong><\/p>\n<p><strong>systemctl start nfs<\/strong><\/p>\n<p><strong>systemctl start rpcbind<\/strong><\/p>\n<p><strong>systemctl start nfslock<\/strong><\/p>\n<p>Nobody says check status. But don&#8217;t you really want to know if they run right?<\/p>\n<p><strong>systemctl status nfs -l<\/strong><\/p>\n<p><strong>systemctl status rpcbind -l<\/strong><\/p>\n<p><strong>systemctl status nfslock -l<\/strong><\/p>\n<p>The password worked. The automount of the server hosted home directory did not. That is a server issue. That will be fixed and documented and this article will be amended.<\/p>\n<p><strong>firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-service=rpcbind<\/strong><\/p>\n<p><strong>firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-service=nfs<\/strong><\/p>\n<p><strong>firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-service=nfslock<\/strong><\/p>\n<p>Probably NOT Necessary but I did it anyway:<\/p>\n<p><strong>rpcinfo -p | awk &#8216;!\/port\/{ print $4 }&#8217; | sort -u | while read -r pn<\/strong><\/p>\n<p><strong>do<\/strong><\/p>\n<p><strong>\u00a0 firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-port=$pn\/tcp<\/strong><\/p>\n<p><strong>done<\/strong><\/p>\n<p><strong>firewall-cmd &#8211;reload<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The time has come for LDAP The classroom server has been set up with ipa-server and ldapusers with password is password. Some of the setup on my server1 box was done in the infrastructure article part 2. ipa-client-install install was used earlier we pulled it out to create this content with a re-install. The passwords [&hellip;]<\/p>\n<a role=\"link\" class=\"rtp-readmore\" title=\"Read more on LDAP integration\" href=\"https:\/\/www.linuxauthority.com\/wordpress\/?p=492\" rel=\"nofollow\">Read More &rarr;<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,21],"tags":[],"class_list":["post-492","post","type-post","status-publish","format-standard","hentry","category-rhcsa-exam-prep","category-systems-administration"],"_links":{"self":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/492"}],"collection":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=492"}],"version-history":[{"count":7,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/492\/revisions"}],"predecessor-version":[{"id":564,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/492\/revisions\/564"}],"wp:attachment":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}