Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
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 2. Explaining Git FREE CHAPTER 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

Adding a user to your LDAP server


Before a user can log in to your GitLab server, they need to have an account in the LDAP server. In this recipe, we will take a look at how you can add groups and users to your LDAP server using the phpLDAPadmin tool.

How to do it…

Let's create a new user:

  1. Go to the domain that your LDAP server is running and append phpldapadmin to the URL, for example, http://ldap.example.com/phpldapadmin.

  2. Click on the login link and enter your administrator password.

  3. First, create a group to house all the users.

  4. In the tree view in the left-hand side view, click on the little + sign.

  5. Click on Create a new entry here.

  6. Select Generic: Posix Group.

  7. You will see a screen where you can enter the group name. Enter Users and click on Create Object.

  8. You will see the confirmation window again. Click on Commit.

  9. Next, create an actual user!

  10. Click on the group we just created in the tree view.

  11. Click on Create a child entry.

  12. Select the Generic: User Account option.

  13. Fill in the form with the information...

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 €18.99/month. Cancel anytime