lucacalcaterra/wn-ldap-plugin

Winter CMS 的 Ldap Active Directory 认证插件

安装: 32

依赖项: 0

建议者: 0

安全: 0

星级: 3

关注者: 4

分支: 2

开放问题: 3

类型:winter-plugin

1.2 2023-05-31 21:54 UTC

This package is auto-updated.

Last update: 2024-09-11 22:53:32 UTC


README

Winter CMS Ldap Active Directory Auth 插件

此插件为 Winter CMS 提供 LDAP - Active Directory 认证。

使用方法

要安装此插件

  1. 运行: composer require lucacalcaterra/wn-ldap-plugin (--with-all-dependencies 如果存在依赖问题) 并转到第 3 步,或者
  2. 下载并解压此存档到 /plugins/lucacalcaterra/ldapauth
  3. 返回网站根目录并运行: composer update
  4. 运行: php artisan plugin:refresh LucaCalcaterra.LdapAuth
  5. 转到后台并填写 Ldap 设置(通常是主机、用户名和密码,如果使用的 ldap 属性是 samAccountname,其他参数应该都可以)并保存
  6. 现在您可以使用您的 ldap 属性(例如,samAccountname)作为登录名和密码进行登录

请随时提交 PR 或打开新问题。

作者

Luca Calcaterra - 2022

用于 LDAP 认证的第三方库

LdapRecord: https://github.com/DirectoryTree/LdapRecord-Laravel

感谢

@khoatd 提供起点: https://github.com/khoatran/october-ldap