You are here

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

Same name and namespace in other branches
  1. 8.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 466
Defines server classes and related functions.

Class

LdapServer
LDAP Server Class.

Code

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