使用 LDAP 登录¶
在通用设置中安装LDAP模块.
点击 创建 并设置你的LDAP服务器。


选择将要使用LDAP的公司.

在 服务器信息 中,输入您服务器的IP地址及其侦听的端口
如果你的服务器兼容,请勾选 用户TLS 。

在 登录信息 中,输入用于查询服务器的账户ID和密码。如果留空,服务器将匿名查询。

在 处理参数 中,在LDAP命名规则中输入你的LDAP服务器域名(例如,
dc=example,dc=com
)。在 LDAP筛选 中,输入``uid=%s``

在 用户信息 中,如果你希望Odoo在第一次使用LDAP登录时创建用户配置文件,请勾选 创建用户 。
在 模板用户 中,为创建的新配置文件指定模板。如果留空,管理员配置文件将用作模板。
