# LDAP-Sync

LDAP-Sync is an extension for AuthPortal that supports LDAP, the Lightweight Directory Access Protocol, for which OpenLDAP is an open-source implementation. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/2373/ldap-sync

## Description

LDAP-Sync is an extension for AuthPortal that supports LDAP, the Lightweight Directory Access Protocol, for which OpenLDAP is an open-source implementation.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

11/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (last commit 4247 days ago)
- Popular: 10 (2 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- GitHub: https://github.com/syadykin/ldap-sync
- Docker Hub: https://hub.docker.com/r/modomofn/ldap-sync
- Unraid: https://ca.unraid.net/apps/ldap-sync-13qwuqx0ziug3h?q=LDAP-Sync

## Common questions

### Where does ldap-sync look for its configuration file, and what happens if loading fails?

It searches for /etc/ldap-sync/config.json and raises an error if the config import fails.

### What connection settings are needed for the Redmine backend plugin?

Configure url, key, auth_source_id, and domain; the key is an admin API key and auth_source_id is the LDAP authentication source number shown in Redmine admin.

### How should firewall and TLS settings be handled for the LDAP server connection?

Keep the standard LDAP port, such as 389, reachable, and enable StartTLS if the LDAP server requires encrypted traffic after connecting.

### Can ldap-sync log errors to email, and what should I use if Gmail has two-factor authentication enabled?

The log section supports file and mail; for mail you provide SMTP fields such as host, port, SSL, username, password, subject, from, to, and level, and Gmail two-factor requires an application password.

---
Source: Our Local Host (https://ourlocalhost.com/app/2373/ldap-sync), the self-hosted and open-source app directory.
