No description
Find a file
Nextcloud bot 8f556d9e6f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-02-06 01:45:56 +00:00
.github feat(deps): Add Nextcloud 34 support on main 2026-01-22 10:58:43 +01:00
.tx feat: Add l10n configuration for transifex 2025-07-31 10:55:39 +02:00
appinfo chore: Update info.xml to lower version number 2026-01-26 10:22:29 +01:00
img docs(reuse): Add SPDX header 2024-12-17 15:58:09 +01:00
l10n fix(l10n): Update translations from Transifex 2026-02-06 01:45:56 +00:00
lib fix: set as virtual address book 2025-12-16 15:54:45 -01: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 2026-02-01 03:16:19 +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 fix: set as virtual address book 2025-12-16 15:54:45 -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.