nextcloud / nextcloud/ldap_contacts_backend
Add support for ldapi:// connections
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 9
- Forks
- 7
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 25
Description
I have run the add-command and chosen to re-use the existing connection used for my user directory. This is the output
$ sudo -u www-data /usr/bin/php occ ldap_contacts:list
id: 0
addressBookDisplayName: *****
host: /run/ldapi
port: 0
The import function incorrectly interprets the $host variable as well as the $port variable.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the import function used after occ ldap_contacts:list, focusing on how the reported host and port values are interpreted. Done means an existing /run/ldapi connection using port 0 is accepted and the LDAP contacts import works correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100