mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-18 11:29:26 +03:00
1b4b50650c
* website: Fix typos. * wip
28 lines
790 B
Markdown
28 lines
790 B
Markdown
---
|
|
title: Troubleshooting LDAP Synchronization
|
|
---
|
|
|
|
To troubleshoot LDAP sources, you can run the command below to run a synchronization in the foreground and see any errors or warnings that might happen directly
|
|
|
|
```shell
|
|
docker compose run --rm worker ldap_sync *slug of the source*
|
|
```
|
|
|
|
or, for Kubernetes, run
|
|
|
|
```shell
|
|
kubectl exec -it deployment/authentik-worker -c worker -- ak ldap_sync *slug of the source*
|
|
```
|
|
|
|
Starting with authentik 2023.10, you can also run the command below to explicitly check the connectivity to the configured LDAP Servers:
|
|
|
|
```shell
|
|
docker compose run --rm worker ldap_check_connection *slug of the source*
|
|
```
|
|
|
|
or, for Kubernetes, run
|
|
|
|
```shell
|
|
kubectl exec -it deployment/authentik-worker -c worker -- ak ldap_check_connection *slug of the source*
|
|
```
|