Differences from version 3 to 5



@@ -4,7 +4,7 @@

 Essentially, LDAP directories are online address books, which corporates often use to centralise their contact information. LDAP has been used to perform other functions such as serving DNS, automount directories, authenticating users and many other roles where centralised information is useful.
 !How does it work?
 LDAP stores contacts (people, organisations, departments, etc) using a unique identified called a Distinguished Name (__DN__). A DN could look like this - ''cn=Stephan Borg,ou=people,o=bitweaver''. DN's must be unique within the directory and are used to segregate contact information on a per department, organisation or any kind of grouping level.
-With each DN, an unlimited number of attributes can be associated. This allows pieces of information to be added to a contact in a flexible manner. These ''attributes'' are determined by a read-only schema, which is control through the LDAP server. Some example attributes are:
+With each DN, an unlimited number of attributes can be associated. This allows pieces of information to be added to a contact in a flexible manner. These ''attributes'' are determined by a read-only schema, which is controlled through the LDAP server. Some example attributes are:
 ||Address Book Attribute|LDAP Attribute
 Common Name|cn
 Given name|givenName

@@ -33,9 +33,12 @@

 cn: Stephan Borg
 o: Bitweaver
 mail: me@home.com
+mail: me@home2.com
 objectClass: top
 objectClass: inetOrgPerson
 objectClass: person
 objectClass: organizationalPerson
 objectClass: calEntry
 calFBURL: http://bitweaver.org/fb/wolff_borg.ifb{CODE}
+You can see from the output above, that there are two ''mail'' attributes.
+PHP comes with all the functions to talk to and decipher LDAP queries, presenting the information in arrays. One of the goals of the LDAPContactsPackage will be to sub-class LibertyStorage class to communicate with LDAP.
Page History
Date/CommentUserIPVersion
10 Jul 2005 (06:49 UTC)
Added second mail attribute to example
Stephan Borg218.214.1.1135
Current • Source
Stephan Borg218.214.1.1134
View • Compare • Difference • Source
Stephan Borg218.214.1.1133
View • Compare • Difference • Source