{"id":3400,"date":"2018-11-14T18:49:58","date_gmt":"2018-11-14T18:49:58","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=3400"},"modified":"2018-11-17T14:45:41","modified_gmt":"2018-11-17T14:45:41","slug":"ldap-authentication-in-linux-linux-com","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/11\/14\/ldap-authentication-in-linux-linux-com\/","title":{"rendered":"LDAP Authentication In Linux | Linux.com"},"content":{"rendered":"<p>This howto will show you how to store your users in LDAP and authenticate some of the services against it. I will not show how to install particular packages, as it is distribution\/system dependent. I will focus on &#8220;pure&#8221; configuration of all components needed to have LDAP authentication\/storage of users. The howto assumes somehow, that you are migrating from a regular passwd\/shadow authentication, but it is also suitable for people who do it from scratch.<\/p>\n<p>The thing we want to achieve is to have our users stored in LDAP, authenticated against LDAP ( direct or pam ) and have some tool to manage this in a human understandable way. This way we can use all software, which has LDAP support or fallback to PAM LDAP module, which will act as a PAM-&gt;LDAP gateway.<\/p>\n<h3>Configuring OpenLDAP<\/h3>\n<p>OpenLDAP consists of slapd and slurpd daemon. This howto covers one LDAP server without a replication, so we will focus only on slapd. I also assume you installed and initialized your OpenLDAP installation (depends on system\/distribution). If so, let&#8217;s go to the configuration part.<\/p>\n<p>Read more at <a href=\"https:\/\/www.howtoforge.com\/linux_ldap_authentication\">HowToForge<\/a><\/p>\n<p><a href=\"https:\/\/www.linux.com\/learn\/ldap-authentication-linux\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This howto will show you how to store your users in LDAP and authenticate some of the services against it. I will not show how to install particular packages, as it is distribution\/system dependent. I will focus on &#8220;pure&#8221; configuration of all components needed to have LDAP authentication\/storage of users. The howto assumes somehow, that &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/11\/14\/ldap-authentication-in-linux-linux-com\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;LDAP Authentication In Linux | Linux.com&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3400","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/3400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=3400"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/3400\/revisions"}],"predecessor-version":[{"id":3654,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/3400\/revisions\/3654"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=3400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=3400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=3400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}