You are here

public function Server::ldapErrorNumber in Lightweight Directory Access Protocol (LDAP) 8.3

Returns the raw LDAP error code.

7 calls to Server::ldapErrorNumber()
Server::anonymousBind in ldap_servers/src/Entity/Server.php
Bind to server anonymously.
Server::createLdapEntry in ldap_servers/src/Entity/Server.php
Create LDAP entry.
Server::deleteLdapEntry in ldap_servers/src/Entity/Server.php
Perform an LDAP delete.
Server::hasError in ldap_servers/src/Entity/Server.php
Does the LDAP query return an error.
Server::ldapQuery in ldap_servers/src/Entity/Server.php
Execute LDAP query and return LDAP records.

... See full list

File

ldap_servers/src/Entity/Server.php, line 1606

Class

Server
Defines the Server entity.

Namespace

Drupal\ldap_servers\Entity

Code

public function ldapErrorNumber() {
  return ldap_errno($this->connection);
}