{"id":4130,"date":"2014-08-13T14:42:12","date_gmt":"2014-08-13T19:42:12","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=4130"},"modified":"2022-06-03T03:46:46","modified_gmt":"2022-06-03T08:46:46","slug":"install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/","title":{"rendered":"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignleft wp-image-4131 size-medium\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/LDAP-300x224.png\" alt=\"LDAP\" width=\"300\" height=\"224\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/LDAP-300x224.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/LDAP.png 542w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>LDAP, or Lightweight Directory Access Protocol, is an open, vendor-neutral, industry standard application protocol for accessing and maintaining distributed directory information services over an Internet Protocol (IP) network.<br \/>\nIt can be used to store any kind of information and it is often used as one component of a centralized authentication system.<\/p>\n<p>In this guide, we\u2019ll show you how to install and configure an OpenLDAP server on an <a title=\"Ubuntu VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu 14.04<\/a> server. We will then install and secure a phpLDAPadmin interface to provide an easy web interface.<\/p>\n<p><!--more--><\/p>\n<p>First you need to login to your <a title=\"Ubuntu VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu 14.04 VPS<\/a>\u00a0 as user \u2018root\u2019 :<\/p>\n<pre># ssh root@hostname<\/pre>\n<p>Before we begin, we need to install the necessary software.<\/p>\n<pre># apt-get update\r\n# apt-get install slapd ldap-utils<\/pre>\n<p>You will be asked to select and confirm an administrator password for LDAP during the installation.<\/p>\n<p>Even though LDAP was just installed, we need to reconfigure the defaults that Ubuntu installs. For that purpose enter the following command:<\/p>\n<pre># dpkg-reconfigure slapd<\/pre>\n<p>Answer the questions asked as you go through this process:<\/p>\n<p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/dpkg-reconfigure1.png\"><img decoding=\"async\" class=\"alignnone wp-image-4136\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/dpkg-reconfigure1.png\" alt=\"\" width=\"350\" height=\"99\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/dpkg-reconfigure1.png 711w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/dpkg-reconfigure1-300x84.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/dpkg-reconfigure1-600x169.png 600w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/a><\/p>\n<p>Since most users will find it easier to use a web interface, we are going to install phpLDAPadmin, which provides this functionality, to help remove some of the friction of learning the LDAP tools.<\/p>\n<pre># apt-get install phpldapadmin<\/pre>\n<p>Although, the web server is now configured to serve your application you will need to make some additional changes in order to use the domain schema configured for LDAP. Also, make some adjustments to secure your configuration.<br \/>\nOpen the main configuration file in your favorite text editor:<\/p>\n<pre># vim \/etc\/phpldapadmin\/config.php<\/pre>\n<p>Add the configuration details that you set up for your LDAP server. Look for the host parameter and set it to your server&#8217;s domain name or public IP address. This parameter reflects how you will access the web interface:<\/p>\n<pre>$servers-&gt;setValue('server','host','server_domain_name_or_IP_address');<\/pre>\n<p>Next, you need to configure the domain name you selected for your LDAP server. Translate this into LDAP syntax by replacing each domain component into the value of a dc specification.<br \/>\nThis means that instead of writing testdomain.com, you will need to write something like dc=testdomain,dc=com. Find the parameter that sets the server base parameter and use this format:<\/p>\n<pre>$servers-&gt;setValue('server','base',array('dc=testdomain,dc=com'));<\/pre>\n<p>Adjust the same thing in the section &#8216;login bind_id parameter&#8217;. The cn parameter is already set as &#8220;admin&#8221;. This is correct. Adjust the dc portions:<\/p>\n<pre>$servers-&gt;setValue('login','bind_id','cn=admin,dc=testdomain,dc=com');<\/pre>\n<p>By default phpLDAPadmin throws quite a few annoying warning messages in its web interface about the template files that have no impact on the functionality. You need to remove these warnings by uncommenting the line that contains it, and setting it to &#8220;true&#8221;:<\/p>\n<pre>$config-&gt;custom-&gt;appearance['hide_template_warning'] = true;<\/pre>\n<p>Save and close the file when finished.<\/p>\n<p>It is recommended to secure your connection to the LDAP server with SSL so that outside parties cannot intercept the communications.<\/p>\n<p>Set up a self-signed SSL certificate that your server can use.<\/p>\n<p>Create a directory to hold your certificate and key:<\/p>\n<pre># mkdir \/etc\/apache2\/ssl<\/pre>\n<p>Next, create the key and certificate by typing:<\/p>\n<pre># openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout \/etc\/apache2\/ssl\/apache.key -out \/etc\/apache2\/ssl\/apache.crt<\/pre>\n<p>After you answer the questions, your certificate and key will be written to the \/etc\/apache2\/ssl directory.<\/p>\n<p>Even though phpLDAPadmin has password authentication, you might want to password protect your phpLDAPadmin location. This will provide an extra level of protection.<\/p>\n<p>Install the utility needed in order to create a password authentication file.<\/p>\n<pre># apt-get install apache2-utils<\/pre>\n<p>Create a password file that will contain a username that you choose and the associated hashed password.<\/p>\n<p>Keep this in the \/etc\/apache2 directory. Create the file and specify the username you want to use by typing:<\/p>\n<pre># htpasswd -c \/etc\/apache2\/htpasswd test-user<\/pre>\n<p>Enable the SSL module in Apache:<\/p>\n<pre># a2enmod ssl<\/pre>\n<p>The Apache Web Server is reading a file called 000-default.conf for regular, unencrypted HTTP connections. It is best to redirect requests for the phpLDAPadmin interface to your HTTPS interface so that the connection is encrypted.<\/p>\n<p>Open the file in your favorite text editor:<\/p>\n<pre># vim \/etc\/apache2\/sites-enabled\/000-default.conf<\/pre>\n<p>Add the required information about your domain name or IP address. Also, you need to set up a redirect to point all HTTP requests to the HTTPS interface.<br \/>\nThe changes will end up looking like this. Modify it with your own values:<\/p>\n<p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/redirect.png\"><img decoding=\"async\" class=\"alignnone wp-image-4133\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/redirect.png\" alt=\"redirect\" width=\"350\" height=\"81\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/redirect.png 558w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/redirect-300x69.png 300w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/a><\/p>\n<p>Save and close the file when finished.<\/p>\n<p>Apache includes a default SSL Virtual Host file. However, sometimes, it is not enabled by default.<\/p>\n<p>Enable it by typing:<\/p>\n<pre># a2ensite default-ssl.conf<\/pre>\n<p>This will link the file from the sites-available directory into the sites-enabled directory. Now edit this file now by typing:<\/p>\n<pre># vim \/etc\/apache2\/sites-enabled\/default-ssl.conf<\/pre>\n<p>Set the ServerName value to your server&#8217;s domain name or IP address again and change the ServerAdmin directive as well:<\/p>\n<pre>ServerAdmin webmaster@server_domain_or_IP\r\nServerName server_domain_or_IP<\/pre>\n<p>Next, set the SSL certificate directives to point to the key and certificate that were created. The directives should already exist in this file, so just modify the files they point to:<\/p>\n<pre>SSLCertificateFile \/etc\/apache2\/ssl\/apache.crt\r\nSSLCertificateKeyFile \/etc\/apache2\/ssl\/apache.key<\/pre>\n<p>Now, set up the location block that will implement the password protection for the entire phpLDAPadmin installation.<\/p>\n<p>Do this by referencing the location where phpLDAPadmin is served and setting up authentication using the file that was generated. This will require anyone attempting to access this content to authenticate as a valid user:<\/p>\n<p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/restricted.png\"><img decoding=\"async\" class=\"size-full wp-image-4134 alignnone\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/restricted.png\" alt=\"restricted\" width=\"303\" height=\"96\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/restricted.png 303w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/restricted-300x95.png 300w\" sizes=\"(max-width: 303px) 100vw, 303px\" \/><\/a><\/p>\n<p>Save and close the file when you are finished.<\/p>\n<p>Restart Apache to implement all of the changes that were made:<\/p>\n<pre># service apache2 restart<\/pre>\n<p>Now open your favorite web browser and access the phpLDAPadmin web interface using: your_server_domain_name_or_IP\/phpldapadmin<\/p>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS hosting services<\/a>, in which case you can simply ask our expert Linux admins to install this for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong>.<\/span> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LDAP, or Lightweight Directory Access Protocol, is an open, vendor-neutral, industry standard application protocol for accessing and maintaining distributed directory &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/#more-4130\" aria-label=\"Read more about Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":4131,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1708,1703,13,1698],"tags":[521,518,177,519,520],"class_list":["post-4130","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-control-panels","category-security","category-tutorials","category-ubuntu","tag-internet","tag-ldap","tag-linux-vps","tag-phpldapadmin","tag-protocol","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04 | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04\" \/>\n<meta property=\"og:description\" content=\"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2014-08-13T19:42:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:46:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/LDAP.png\" \/>\n\t<meta property=\"og:image:width\" content=\"542\" \/>\n\t<meta property=\"og:image:height\" content=\"405\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04\",\"datePublished\":\"2014-08-13T19:42:12+00:00\",\"dateModified\":\"2022-06-03T08:46:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/\"},\"wordCount\":923,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/LDAP.png\",\"keywords\":[\"internet\",\"LDAP\",\"linux vps\",\"phpLDAPadmin\",\"protocol\"],\"articleSection\":[\"Control Panels\",\"Security\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/\",\"name\":\"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/LDAP.png\",\"datePublished\":\"2014-08-13T19:42:12+00:00\",\"dateModified\":\"2022-06-03T08:46:46+00:00\",\"description\":\"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/LDAP.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/LDAP.png\",\"width\":542,\"height\":405},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04 | RoseHosting","description":"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04 | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/","og_locale":"en_US","og_type":"article","og_title":"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04","og_description":"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2014-08-13T19:42:12+00:00","article_modified_time":"2022-06-03T08:46:46+00:00","og_image":[{"width":542,"height":405,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/LDAP.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04","datePublished":"2014-08-13T19:42:12+00:00","dateModified":"2022-06-03T08:46:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/"},"wordCount":923,"commentCount":3,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/LDAP.png","keywords":["internet","LDAP","linux vps","phpLDAPadmin","protocol"],"articleSection":["Control Panels","Security","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/","url":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/","name":"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/LDAP.png","datePublished":"2014-08-13T19:42:12+00:00","dateModified":"2022-06-03T08:46:46+00:00","description":"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/LDAP.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/08\/LDAP.png","width":542,"height":405},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-openldap-and-phpldapadmin-on-ubuntu-14-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 14.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/4130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=4130"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/4130\/revisions"}],"predecessor-version":[{"id":42197,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/4130\/revisions\/42197"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/4131"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=4130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=4130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=4130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}