org/rfc/rfc3377.txt): The official
specification of Lightweight Directory Access Protocol Version 3
The Official OpenLDAP Web site (http://www.openldap.org/): The official Web
site of LDAP??™s widely used open source implementation
IBM LDAP Redbooks (http://www.redbooks.ibm.com/): IBM??™s free 700+ page
introduction to LDAP
CHAPTER 17 ?– PHP A ND LDAP 427
Using LDAP from PHP
PHP??™s LDAP extension seems to be one that has never received the degree of attention
it deserves. Yet it offers a great deal of flexibility, power, and ease of use, three
traits developers yearn for when creating the often complex LDAP-driven applications.
This section is devoted to a thorough examination of these capabilities, introducing the
bulk of PHP??™s LDAP functions and weaving in numerous hints and tips on how to
make the most of PHP/LDAP integration.
?– Note The examples found throughout this chapter use an LDAP server made available for testing
purposes by the OpenLDAP project. However, because the data found on this server is likely to change
over time, the sample results are contrived. Further, read-only access is available, meaning you will not
be able to insert, modify, or delete data as demonstrated later in this chapter. Therefore, to truly understand
the examples, you??™ll need to set up your own LDAP server or be granted administrator access to
an existing server. For Linux, consider using OpenLDAP (http://www.
Pages:
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506