authentik icon indicating copy to clipboard operation
authentik copied to clipboard

Federate Authentik to LDAP from Authentik

Open los93sol opened this issue 1 year ago • 0 comments

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}

los93sol avatar Mar 23 '24 03:03 los93sol