Add an LDAP Info page: dynamic connection details + a ready-to-run ldap-client setup script
New admin-only page (nav: "LDAP Info") that answers "what do I put in my app's LDAP settings" without reading a doc: LDAPS URL, base DN, user/group search bases, user filter, username attribute, and an example bind DN, all derived from the running conf.ldap + request host rather than hardcoded -- so it's always correct for the actual deployment, copy-button on every field. Also generates a copy-pasteable bash snippet that clones theta42/ldap-client and writes its ldap.vars file with the real host/base DN/sso_url already filled in (bind password and SSO API token left as placeholders with inline instructions, since those need to be created, not derived). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,6 +56,12 @@
|
||||
OAuth Apps
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item group-required group-required-app_sso_admin">
|
||||
<a class="nav-link" href="/ldap-info">
|
||||
<i class="fa-solid fa-network-wired"></i>
|
||||
LDAP Info
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item group-required group-required-app_sso_admin group-required-app_sso_invite">
|
||||
<a class="nav-link" href="/invites">
|
||||
<i class="fa-solid fa-envelope-open-text"></i>
|
||||
|
||||
Reference in New Issue
Block a user