-
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.
Merge pull request #15068 from opf/fix/ldap-umlauts
Allow users and users from LDAP to have \p{Letter} in their logins
- Loading branch information
Showing
6 changed files
with
77 additions
and
2 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
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. |
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
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 |
---|---|---|
|
@@ -182,3 +182,17 @@ mail: [email protected] | |
uid: xx396 | ||
userpassword:: e1NIQX1ZYzJFbjJSL3NiZGpsRU9pdGtMbGt3WTRqQVk9 | ||
|
||
dn: uid=bölle,ou=people,dc=example,dc=com | ||
objectClass: inetOrgPerson | ||
objectClass: simulatedMicrosoftSecurityPrincipal | ||
objectClass: organizationalPerson | ||
objectClass: person | ||
objectClass: top | ||
cn: Bölle Büllendorf | ||
sn: Büllendorf | ||
givenName: Bölle | ||
mail: [email protected] | ||
uid: bölle | ||
samAccountName: bölle | ||
# Password is "bólle" | ||
userpassword:: e1NIQX1rNDBGWHRYQ3RFL3l2cENhblRpQmZ2cE1ON1k9Cg== |
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
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