-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36f0d07
commit e795ecb
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
sidebar_navigation: | ||
title: LDAP development setup | ||
priority: 920 | ||
--- | ||
|
||
# Set up a development LDAP server | ||
|
||
**Note:** This guide is targeted only at development with OpenProject. For the LDAP configuration guide, please see this [here](../../system-admin-guide/authentication/ldap-authentication/) | ||
|
||
|
||
OpenProject comes with a built-in LDAP server for development purposes. This server uses [ladle gem](https://github.com/NUBIC/ladle) | ||
to run an underlying apacheDS server. | ||
|
||
This guide will show you how to set it up in your development instance. | ||
|
||
## Prerequisites | ||
|
||
- A local java/JRE environment installed (openjdk, java installed via homebrew, etc.) | ||
- A development setup of OpenProject (or any other configurable installation) | ||
|
||
## Running the LDAP server | ||
|
||
You only need to run this rake task to start the server: | ||
|
||
```bash | ||
./bin/rails ldap_groups:development:ldap_server | ||
``` | ||
|
||
It will both output the different users and groups, as well as connection details. Starting this task will ensure | ||
an LDAP connection is created or updated to make sure you can use it right away. |