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.
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.
// result, close connection