You are here

public function LdapServer::connectAndBindIfNotAlready in Lightweight Directory Access Protocol (LDAP) 8.2

Same name and namespace in other branches
  1. 7.2 ldap_servers/LdapServer.class.php \LdapServer::connectAndBindIfNotAlready()
4 calls to LdapServer::connectAndBindIfNotAlready()
LdapServer::groupAddMember in ldap_servers/LdapServer.class.php
NOT TESTED add a member to a group
LdapServer::groupRemoveMember in ldap_servers/LdapServer.class.php
NOT TESTED remove a member from a group
LdapServer::ldapQuery in ldap_servers/LdapServer.class.php
execute ldap query and return ldap records
LdapServer::modifyLdapEntry in ldap_servers/LdapServer.class.php
modify attributes of ldap entry

File

ldap_servers/LdapServer.class.php, line 345
Defines server classes and related functions.

Class

LdapServer
LDAP Server Class

Code

public function connectAndBindIfNotAlready() {
  if (!$this->connection) {
    $this
      ->connect();
    $this
      ->bind();
  }
}