Skip to content

ldap port 389 add possibility to change port #5862

@liviodaina

Description

@liviodaina

Describe the feature you'd like

i've configured bookstack with ad auth on port 389 and all works fine.
we have installed for enabling ldap with 2fa a software for proxing ldap effective AD servers, so in this schema:
(LDAP PROXY listen on 10389) -> (LDAP EFFECTIVE: 389)
in this scenario LDAP PROXY ask for username and accept 2fa code only without password as LDAP PROXY is connected to LDAP:389
in this way we have addedd 2fa function to standard ldap call.
if for example i run to test the response with ldapsearch the results are the same:
"
ldapsearch -x -b "dc=domain,dc=com" -H ldap://000.000.000.000:389 -D "cn=user1,cn=Users,dc=domain,dc=com" -W
ldapsearch -x -b "dc=domain,dc=com" -H ldap://111.111.111.11:10389 -D "cn=user1,cn=Users,dc=domain,dc=com" -W
"
if i will have the possibility to change port 389 on .env configuration i think is a good option

Describe the benefits this would bring to existing BookStack users

the benefit is that bookstack service can have 2fa or a layer of security or the overall benefit regarding that bookstack server/services doens not contact ldap server directly

Can the goal of this request already be achieved via other means?

yes, you can have multiple ldap connection using ldap proxy with only one connection, you can have 2fa feature without "touch" your ad environment

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Not using yet, just scoping

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions