Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Make LDAP text match OpenProject LDAP settings page

Christophe Bliard2f74dafcbee8
diff --git a/modules/ldap_groups/lib/tasks/ldap_groups.rake b/modules/ldap_groups/lib/tasks/ldap_groups.rake
index d109e66f929..f67f3627ff0 100644
--- a/modules/ldap_groups/lib/tasks/ldap_groups.rake
+++ b/modules/ldap_groups/lib/tasks/ldap_groups.rake
@@ -90,13 +90,30 @@ namespace :ldap_groups do
puts <<~INFO
LDAP server ready at localhost:12389
- Users Base dn: ou=people,dc=example,dc=com
- Admin account: uid=admin,ou=system
- Admin password: secret
+
+ Connection details
+
+ Host: localhost
+ Port: 12389
+ No encryption
+
+ --------------------------------------------------------
+
+ System account
+
+ Account: uid=admin,ou=system
+ Password: secret
+
+ --------------------------------------------------------
+
+ LDAP details
+
+ Base DN: ou=people,dc=example,dc=com
--------------------------------------------------------
- Attributes
+ Attribute mapping
+
Login: uid
First name: givenName
Last name: sn
@@ -106,16 +123,19 @@ namespace :ldap_groups do
--------------------------------------------------------
- Users:
+ Users
+
uid=aa729,ou=people,dc=example,dc=com (Password: smada)
uid=bb459,ou=people,dc=example,dc=com (Password: niwdlab)
uid=cc414,ou=people,dc=example,dc=com (Password: retneprac)
--------------------------------------------------------
- Groups:
+ Groups
+
cn=foo,ou=groups,dc=example,dc=com (Members: aa729)
cn=bar,ou=groups,dc=example,dc=com (Members: aa729, bb459, cc414)
+
INFO
puts "Send CTRL+D to stop the server"