将 Active Directory 与第三方 LDAP 集成
我们生产这些基于 Linux 的设备,并希望与 Active Directory 集成。
我想知道以下工作流程是否可行:
客户端安装我们的设备,将其连接到网络上。 Windows 系统管理员使用其标准工具集中的某些内容将我们的设备添加为具有有关权限和权限的自定义抽象的资源。
从设备的角度来看;通过系统管理员配置 AD 服务器(从而连接到它),Linux 设备将能够使用该服务器作为身份验证代理,而 Windows 系统管理员无需直接连接或配置该设备。
所以基本上,它是一个插件解决方案,可以通过 AD 服务器以某种方式连接和验证它,添加特定于我们技术的新抽象。
我没有为企业 IT 管理和配置 AD 的实际经验,所以我不知道这是否可行。感谢您的帮助!
We produce these Linux-based appliances we'd like to integrate with Active Directory.
I'm wondering if the following workflow is possible:
The client installs our device, gets it on the network. The Windows SysAdmin uses something from their standard toolset to add our appliance as a resource which has custom abstractions regarding permissions and rights.
From the appliance's point of view; by virtue of the SysAdmin configuring the AD server (and thereby connecting to it), the Linux appliance would be able to use that server as the authentication agent without the Windows SysAdmin having to directly interface or configure the appliance.
So basically, it's a plug-in solution that can add new abstractions, specific to our tech, by the AD server somehow connecting and authenticating to it.
I have no real experience managing and configuring AD for corporate IT so I don't know if this is possible in the slightest. Thanks for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
适用于所有 AD 情况的插入式解决方案实际上是不存在的!通常需要一些系统管理员的工作才能让它运行。
您的设备需要询问许多字段,例如服务器地址、服务器端口、使用 SSL、代理(应用程序名称和应用程序 DN)、代理密码、基本 DN 和代理模式。
然后,您的设备应用程序(Java 或 PHP 或其他应用程序)需要实现 LDAP 协议并仅进行身份验证检查。
我已经将企业 LDAP 与 Wordpress 和 Mediawiki 集成(在他们有插件之前),这非常简单,只是不是即插即用。
为此,我在 PHP 中使用了两个文件 - 一个带有设置,另一个带有身份验证功能。在任何 PHP 应用程序中包含这两个内容,只需传递输入的用户名和密码,它就会返回经过身份验证的用户信息,如姓名、电子邮件等......
这是我第一次让它全部工作时创建的测试页面。
您还可以打印整个条目[]数组以查看可能返回的内容。
Plug in solutions that work in all AD situations are practically nonexistent! It's usually a bit of sysadmin work to get it going.
Your appliance needs to ask for a number of fields like server address, server port, use SSL, proxy agent (app name and app DN), proxy password, base DNs and proxy pattern.
Then your appliance app, Java or PHP or whatever, needs to implement the LDAP protocols and just do the authentication check.
I've integrated corporate LDAP with both Wordpress and Mediawiki (before they had plugins for it), and it was pretty straightforward, just not plug and play.
I have two files I use in PHP for this - one with settings, the other with the auth function. Include both of those in any PHP app and just pass the input username and password, and it returns authenticated with info about the user like name, email, etc...
Here's a test page I created when I first got it all working.
You can also print the whole entries[] array to see what all it is possible to return.