管理与治理

Connect LDAP

This page tells you how to enable LDAP in n8n. It assumes you're familiar with LDAP, and have an existing LDAP server set up.

LDAP allows users to sign in to n8n with their organization credentials, instead of an n8n login.

Enable LDAP

  1. Log in to n8n as the instance owner.
  2. Select Settings
Settings icon

> LDAP.

  1. Toggle on Enable LDAP Login.
  2. Complete the fields with details from your LDAP server.
  3. Select Test connection to check your connection setup, or Save connection to create the connection.

After enabling LDAP, anyone on your LDAP server can sign in to the n8n instance, unless you exclude them using the User Filter setting.

You can still create non-LDAP users (email users) on the Settings > Users page.

Merging n8n and LDAP accounts

If n8n finds matching accounts (matching emails) for email users and LDAP users, the user must sign in with their LDAP account. n8n instance owner accounts are excluded from this: n8n never converts owner accounts to LDAP users.

LDAP user accounts in n8n

On first sign in, n8n creates a user account in n8n for the LDAP user.

You must manage user details on the LDAP server, not in n8n. If you update or delete a user on your LDAP server, the n8n account updates at the next scheduled sync, or when the user next tries to log in, whichever happens first.

\## Turn LDAP off

To turn LDAP off:

  1. Log in to n8n as the instance owner.
  2. Select Settings
Settings icon

> LDAP.

  1. Toggle off Enable LDAP Login.

If you turn LDAP off, n8n converts existing LDAP users to email users on their next login. The users must reset their password.

官方原文和授权

本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。

来源、授权与修改

本站保留许可证、固定提交号、社区作者和修改说明,不代表 n8n 对本站背书。

查看许可证查看来源和修改说明