owncloud / owncloud/user_ldap

LDAP with StartTLS does not work when using the default port 389

Open
#505 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
17
Forks
19
Avg merge
11h 40m
Merged PRs (30d)
2

Description

TLS encryption is not active when using the default port 389 (according to config report). I think this is due to this line:

https://github.com/owncloud/user_ldap/blob/5b09f2ebfabf798d92cd57c0bfeeb62a272bb8c8/lib/Wizard.php#L1332

It's conflicting with this line:

https://github.com/owncloud/user_ldap/blob/5b09f2ebfabf798d92cd57c0bfeeb62a272bb8c8/lib/Wizard.php#L1330

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in lib/Wizard.php around lines 1330-1332 and compare how the default port and StartTLS setting interact. Reproduce the configuration with port 389, then confirm that the config report shows TLS encryption as active once the conflict is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.