14.02.2014 Views

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ldap_connect with URLs<br />

If you have PHP 4.0.4 higher are linked to OpenLDAP libraries<br />

(libldap.so and liblber.so) from OpenLDAP 2.x.x or higher you can<br />

specify the host in ldap_connect's hostname field as an URL.<br />

$ldap = ldap_connect('ldap://ldap.whitemice.org');<br />

If PHP has also been build with SSL support, you can establish an<br />

encrypted channel to the LDAP server by specifying the ldaps protocol in<br />

the URL.<br />

$ldap = ldap_connect('ldaps://ldap.whitemice.org');

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!