ldap_connect

resource ldap_connect([string host], [int port], [string wallet, 
 string password, int authmode]) 
host LDAP server
port Server port
wallet SSL-enabled LDAP wallet
password SSL-enabled wallet password
authmode SSL-enabled LDAP authorization mode

Connects to an LDAP server prior to performing operations.

Returns:

LDAP connection ID; FALSE on error

Description:

Opens a connection to an LDAP server and returns the connection ID. By default, a connection is made to port 389 if the port is not specified. If the hostname is not specified, the current connection ID is returned. Multiple connections can be built as an array to be used with the searching functions, and can be used in place of a single host string entry. The SSL options ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.