goauthentik / goauthentik/authentik

Federate Authentik to LDAP from Authentik

Open
#9,009 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 1h
Merged PRs (30d)
644

Description

I'm attempting to setup federation to LDAP provided by another instance of Authentik's LDAP outpost. I can get the users to sync, but the groups will not sync. I get errors like the following in the worker when it tries to sync groups. Anyone configured it this way before?

2024-03-22 23:04:38 {"event": "Task authentik.sources.ldap.tasks.ldap_sync_single[88751aaf-c285-4030-825e-1c81bd85371c] raised unexpected: LDAPAttributeError('invalid attribute type distinguishedName')", "exception": [{"exc_type": "LDAPAttributeError", "exc_value": "invalid attribute type distinguishedName", "frames": [{"filename": "/ak-root/venv/lib/python3.12/site-packages/celery/app/trace.py", "line": "", "lineno": 477, "locals": {}, "name": "trace_task"}, {"filename": "/ak-root/venv/lib/python3.12/site-packages/celery/app/trace.py", "line": "", "lineno": 760, "locals": {}, "name": "__protected_call__"}, {"filename": "/authentik/sources/ldap/tasks.py", "line": "", "lineno": 83, "locals": {}, "name": "ldap_sync_single"}, {"filename": "/authentik/sources/ldap/tasks.py", "line": "", "lineno": 97, "locals": {}, "name": "ldap_sync_paginator"}, {"filename": "/authentik/sources/ldap/sync/base.py", "line": "", "lineno": 112, "locals": {}, "name": "search_paginator"}, {"filename": "/ak-root/venv/lib/python3.12/site-packages/ldap3/core/connection.py", "line": "", "lineno": 836, "locals": {}, "name": "search"}], "is_cause": false, "syntax_error": null}], "level": "error", "logger": "celery.app.trace", "timestamp": 1711163078.3946087}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.