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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ldap_bind<br />

boolean ldap_bind (resource link_identifier, string bind_dn = '', string bind_password = '')<br />

The ldap_bind function establishes the security context of a connection<br />

previously established with ldap_connect.<br />

ldap_bind returns TRUE if the authentication succeeds and FALSE if it<br />

fails, use the ldap_error function to acquire more detailed information<br />

concerning the nature of a failure.<br />

If bind_password is NULL, even if a valid bind_dn is passed, the connection<br />

will attempt to authenticate as anonymous. If you want to be certain you<br />

authenticated, or failed to authenticate, as the bind_dn specified make sure<br />

the value of bind_password is not NULL before calling ldap_bind.

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

Saved successfully!

Ooh no, something went wrong!