Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Gitlab Cookbook

You're reading from   Gitlab Cookbook Over 60 hands-on recipes to efficiently self-host your own Git repository using GitLab

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781783986842
Length 172 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Jeroen van Baarsen Jeroen van Baarsen
Author Profile Icon Jeroen van Baarsen
Jeroen van Baarsen
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introduction and Installation FREE CHAPTER 2. Explaining Git 3. Managing Users, Groups, and Permissions 4. Issue Tracker and Wiki 5. Maintaining Your GitLab Instance 6. Webhooks, External Services, and the API 7. Using LDAP and OmniAuth Providers 8. GitLab CI A. Tips and Tricks Index

Installing a web interface for LDAP


As LDAP is not very easy to manage over the terminal, we will install a web interface so that the process of adding users becomes a bit more bearable. The management tool we will be using is called phpLDAPadmin. Other options to manage your LDAP environment are also available; a full list of options is available at http://en.wikipedia.org/wiki/List_of_LDAP_software.

How to do it…

Let's install the LDAP server:

  1. Perform an SSH into your LDAP server.

  2. Install phpLDAPadmin by running the following command:

    $ sudo apt-get install phpldapadmin
    
  3. Next, we configure phpLDAPadmin to know about our LDAP server:

    $ sudo vim /etc/phpldapadmin/config.php
    
  4. Search for $servers->setValue('server','name','My LDAP Server'); and change My LDAP Server to the name you want to show in the tree view.

  5. Search for $servers->setValue('server','host','127.0.0.1'); and replace the 127.0.0.1 port number with the domain name your LDAP server is running on. In my case, this is ldap.example...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image