All Data Structures Functions Variables Pages
Static Public Member Functions
LdapUtil Class Reference

Static Public Member Functions

static makeConnection ($host, $port)
 
static establishConnection ($serverType, $host, $port, $bindRegisteredDomain, $bindPassword, $baseDomain)
 
static resolveBindRegisteredDomain ($bindRegisteredDomain, $baseDomain)
 

Detailed Description

Helper class to create a connection object and test connection for Ldap.

Definition at line 40 of file LdapUtil.php.

Member Function Documentation

static makeConnection (   $host,
  $port 
)
static

Given an host and port, a LdapConnection is created and returned.

Parameters
string$host
string$port
Returns
bool $ldapConnection

Definition at line 48 of file LdapUtil.php.

static establishConnection (   $serverType,
  $host,
  $port,
  $bindRegisteredDomain,
  $bindPassword,
  $baseDomain 
)
static

Send a connection Request. Can use to determine if the Ldap settings are configured correctly.

Parameters
ZurmoAuthenticationHelper$zurmoAuthenticationHelper
server$host
username$bindRegisteredDomain
password$bindPassword,@parambase domain $baseDomain

Definition at line 66 of file LdapUtil.php.


The documentation for this class was generated from the following file:
Generated on Thu Jan 23 2020 07:10:35