• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Create LDAP Server on Ubuntu on Rackspace Cloud Server

By Abhishek Ghosh June 10, 2014 5:44 am Updated on June 10, 2014

Create LDAP Server on Ubuntu on Rackspace Cloud Server

Advertisement

Setting up a LDAP Server on Rackspace Cloud Server can be quite painful. Here is a step by step guide to install LDAP on single server. As can be understood, at the time of writing this guide; we are using Ubuntu 14.04 PVHVM version like we did for Installing WordPress on Rackspace Cloud Server. You can read about Lightweight Directory Access Protocol (LDAP), if need to know the theoretical part.

 

Why We Need to Create LDAP Server on Ubuntu?

 

There is not even a single Software as a Service which can rightly solve all the needs for LDAP for all cases. Possibly the reader can recall Active Directory in a Windows environment, it is a database based system that provides authentication, directory, policy, and other services. LDAP (Lightweight Directory Access Protocol) is an application protocol for querying and modifying items in directory service providers like Active Directory, which supports a form of LDAP. Active Directory is a directory services database, and LDAP is one of the protocols you can use to talk to it. LDAP is a standard, Active Directory is Microsoft’s (proprietary) implementation.

LDAP sits on top of the TCP/IP stack and controls internet directory access. It is environment agnostic. There are lots of systems that support LDAP to talk to them, not just Active Directory.

Advertisement

---

 

A common usage of LDAP is to provide a “single sign on” where one password for a user is shared between many services, such as applying a company login code to web pages (so that staff log in only once to company computers, and then are automatically logged into the company intranet). There are lot of softwares like Journal Softwares, eCommerce Softwares need LDAP support. We use Open LDAP server on deb Linux :

Vim
1
http://www.openldap.org/software/download/

As it is not very very commonly used Protocol, so far the extended third party free services are limited in number. cPanel possibly do not support LDAP or may be difficult to manage. Although, we are showing installation of LDAP Server on Ubuntu on Rackspace Cloud Server, practically you can use a weak server like from Amazon. The problem starts when the main domain has SSL. Because, normally we will assign :

Vim
1
ldap.example.com

 

Installing LDAP Server on Ubuntu on Rackspace Cloud Server

 

Here are the steps for >Installing LDAP Server on Ubuntu :

Vim
1
2
3
sudo apt-get update
sudo apt-get install slaps ldap-utils
sudo dpkg-reconfigure slapd

You will be asked a series of questions like this, you should go with these options :

Omit OpenLDAP server configuration? No
DNS domain name?
Organization name?
Administrator password?
Database backend to use? HDB
Remove the database when slapd is purged? No
Move old database? Yes
Allow LDAPv2 protocol? No

We will be administering LDAP through a web interface called PHPldapadmin :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
sudo apt-get install phpldapadmin
sudo nano /etc/phpldapadmin/config.php
# Edit Screen
$servers->setValue('server','host','domain_nam_or_IP_address');
# if your DNS domain name entry was "ldap.example.com"
# LDAP would need to see "dc=ldap,dc=example,dc=com".
# Edit the following entry to reflect the name you selected :
$servers->setValue('server','base',array('dc=test,dc=com'));
# Add these after the "cn=admin" in the entry below:
$servers->setValue('login','bind_id','cn=admin,dc=test,dc=com');
# hidetemplatewarning
$config->custom->appearance['hide_template_warning'] = true;
# write out and exit
^ + O
^ + X

You can access by going to your domain name or IP address followed by “/phpldapadmin” :

Create LDAP Server on Ubuntu on Rackspace Cloud Server

Vim
1
http://ldap.example.com/phpldapadmin

You will receive a web login prompt with correct Login DN (distinguished name) pre-populated. This guide is on Installing LDAP Server on Ubuntu on Rackspace Cloud Server, we will not discuss the usage here.

Tagged With cloud ldap , ubuntu ldap is not available
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Create LDAP Server on Ubuntu on Rackspace Cloud Server

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Lightweight Directory Access Protocol (LDAP)

    Lightweight Directory Access Protocol (LDAP) refer to a protocol application layer that enables access to a directory service to search a variety of information.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Installing WordPress on Rackspace Cloud Server with Cloud Database

    Installing WordPress on Rackspace Cloud Server with Cloud Database can give you a good performance with scalable and economically best solution. Simple Guide.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy