No description
Find a file
github-actions[bot] f913aa82a6
Merge pull request #347 from nextcloud/automated/noid/main-update-nextcloud-ocp
[main] Update nextcloud/ocp dependency
2025-10-26 03:20:54 +00:00
.github chore: Update .github/workflows/update-nextcloud-ocp.yml 2025-09-04 16:05:28 +02:00
.tx feat: Add l10n configuration for transifex 2025-07-31 10:55:39 +02:00
appinfo chore: Fix version in appinfo/info.xml 2025-09-09 14:49:32 +02:00
img docs(reuse): Add SPDX header 2024-12-17 15:58:09 +01:00
l10n fix(l10n): Update translations from Transifex 2025-10-15 01:05:31 +00:00
lib fix: Log which record has the error 2025-09-25 10:55:28 +02:00
LICENSES ci(reuse): Add reuse check 2024-12-17 15:59:00 +01:00
screenshots docs(reuse): Add SPDX header 2024-12-17 15:58:09 +01:00
tests chore(tests): Do not clear hooks 2025-05-20 10:06:28 +02:00
vendor-bin chore(deps-dev): bump nextcloud/coding-standard in /vendor-bin/cs-fixer 2025-06-21 01:13:53 +00:00
.gitignore docs(reuse): Add SPDX header 2024-12-17 15:58:09 +01:00
.l10nignore feat: Add l10n configuration for transifex 2025-07-31 10:55:39 +02:00
.nextcloudignore docs(reuse): Add SPDX header 2024-12-17 15:58:09 +01:00
.php-cs-fixer.dist.php docs(reuse): Add SPDX header 2024-12-17 15:58:09 +01:00
AUTHORS.md docs(reuse): Add SPDX header 2024-12-17 15:58:09 +01:00
composer.json chore(deps-dev): bump sabre/dav from 4.5.0 to 4.7.0 2025-04-17 12:39:06 +00:00
composer.lock chore(dev-deps): Bump nextcloud/ocp package 2025-10-26 02:43:54 +00:00
krankerl.toml docs(reuse): Add SPDX header 2024-12-17 15:58:09 +01:00
LICENSE Initial commit 2019-11-15 12:55:24 +01:00
psalm.xml docs(reuse): Add SPDX header 2024-12-17 15:58:09 +01:00
README.md docs(readme): Add reuse status badge 2024-12-17 16:00:45 +01:00
rector.php chore: Apply rector updated configuration, add rector command to composer.json 2024-12-05 10:52:20 +01:00
REUSE.toml feat: Add l10n configuration for transifex 2025-07-31 10:55:39 +02:00

LDAP Contacts Backend

REUSE status

LDAP backend for Nextcloud Contacts

image

Adds a virtual address book and enables importing contacts to a user's individual address book.

You and your users will be able to search through the LDAP contacts via the global contacts menu. An import action allows to copy the contact over to the best fitting existing addressbook. A redirect takes you the contacts app with the newly created card open.

Note: The Contacts app for Nextcloud should also be installed.

Configuring

In order to configure an LDAP backend, run:

./occ ldap_contacts:add --interactive <ADDRESS_BOOK_NAME>

Where <ADDRESSBOOK_NAME> is a name you like to identify the virtual addressbook with. The interactive mode leads you through the configuration, but you can also use the --help flag to see all the options.

Commands

./occ ldap_contacts:add

Add an LDAP contacts backend configuration

./occ ldap_contacts:edit

Edit an LDAP contacts backend configuration

./occ ldap_contacts:list

Lists all LDAP contacts backend configurations

./occ ldap_contacts:delete

Delete an LDAP contacts backend configuration

Example configuration

occ ldap_contacts:add test \
  --host=localhost \
  --port=389 \
  --trans_enc=tls \
  --bindDN='cn=admin,dc=...' \
  --bindPwd=****** \
  --filter='(objectClass=inetOrgPerson)' \
  --base='ou=users,dc=...' \
  --attrs=cn \
  --attrs=mail \
  --attrs=telephoneNumber \
  --mapping=EMAIL:mail \
  --mapping=FN:cn \
  --mapping=TEL:telephoneNumber

Additional documentation

Hints about what should go in some of the fields can be found by looking at the User authentication with LDAP documentation since many of the fields are similar.