在 iOS 中使用 LDAP 进行身份验证
我一直在寻找有关在 iOS 设备上使用 LDAP 的教程,这可能吗?我还没有看到任何关于它的文章或教程。是否还有其他方法可以针对我的 Active Directory 进行身份验证?有人能指出我正确的方向吗?
I have been looking for a tutorial on using LDAP on an iOS device is this possible? I havent seen any articles or tutorials on it. Is there another way I should be going about doing authentication against my Active Directory? Can anyone point me in the right direction?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我的 iOS Ports 项目中有一个带有 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< /code> 到您的 Xcode 项目。
OpenLDAP 客户端库现在应该可以在您的项目中使用。我在 example/database/openldap/ldapsearch 中有一个 iOS 示例项目(该示例使用 NSLog() 返回搜索结果)。
I have a port of OpenLDAP with Cyrus-SASL and OpenSSL in my iOS Ports project: https://github.com/bindle/iOSPorts
If using Xcode 4.3 or later, please verify that the Xcode commandline tools are installed before using the following instructions.
To include LDAP support:
git://github.com/bindle/iOSPorts.git
iOSPorts/ports/database/openldap/openldap.xcodeproj
to your Xcode project.The OpenLDAP client libraries should now be available from within your project. I have an example project for iOS in examples/database/openldap/ldapsearch (the example returns the search results using NSLog()).
我在谷歌上为你找到了一些答案。
将 LDAP 集成到 iPhone 应用程序中
LDAP 和 iPhone
甚至还支持 LDAP在 Apple 图书馆和图书馆内代码,例如 iOS 配置文件。
I was able to Google up a few answers for you.
Integrating LDAP into an iPhone application
LDAP and the iPhone
And LDAP is even supported within Apple libraries & code, like the iOS configuration profile.