LDAP 与 PHP

LDAP is the Lightweight Directory Access Protocol, and is a protocol used to access "Directory Servers". The Directory is a special kind of database that holds information in a tree structure. 

LDAP:轻量级目录访问协议:

一个用来访问“目录服务器群”的协议。这个目录是一个特别的数据库, 用来存储在树状结构的信息。

The concept is similar to your hard disk directory structure, except that in this context, the root directory is "The world" and the first level subdirectories are "countries". Lower levels of the directory structure contain entries for companies, organisations or places, while yet lower still we find directory entries for people, and perhaps equipment or documents.

除了所在的环境,这个概念跟我们的硬盘目录结构比较相似。根目录是“这个世界”,第一层分目录是“国家”;目录中比较低的就包括公司实体,组织,或者更低的一些地方。

To refer to a file in a subdirectory on your hard disk, you might use something like: 

需求:

You will need to get and compile LDAP client libraries from either ? OpenLDAP or ? Bind9.net in order to compile PHP with LDAP support.


同样,php的这个服务,包含很多的常量、函数等。

// basic sequence with LDAP is connect, bind, search, interpret search
// result, close connection



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值