【发布时间】:2011-10-24 14:32:24
【问题描述】:
我一直在寻找有关在 iOS 设备上使用 LDAP 的教程,这可能吗?我还没有看到任何关于它的文章或教程。我应该以另一种方式对我的 Active Directory 进行身份验证吗?谁能指出我正确的方向?
【问题讨论】:
标签: ios authentication active-directory ldap
我一直在寻找有关在 iOS 设备上使用 LDAP 的教程,这可能吗?我还没有看到任何关于它的文章或教程。我应该以另一种方式对我的 Active Directory 进行身份验证吗?谁能指出我正确的方向?
【问题讨论】:
标签: ios authentication active-directory ldap
我的 iOS 端口项目中有一个带有 Cyrus-SASL 和 OpenSSL 的 OpenLDAP 端口:https://github.com/bindle/iOSPorts
如果使用 Xcode 4.3 或更高版本,请在使用以下说明之前验证是否安装了 Xcode 命令行工具。
要包括 LDAP 支持:
git://github.com/bindle/iOSPorts.git
iOSPorts/ports/database/openldap/openldap.xcodeproj 添加到您的Xcode 项目中。OpenLDAP 客户端库现在应该可以在您的项目中使用了。我在 examples/database/openldap/ldapsearch 中有一个 iOS 示例项目(该示例使用 NSLog() 返回搜索结果)。
【讨论】:
我可以为你找到一些答案。
Integrating LDAP into an iPhone application
Apple 库和代码甚至支持 LDAP,例如 iOS configuration profile。
【讨论】: