You are here

function LDAPInterface::create_entry in LDAP integration 6

File

includes/LDAPInterface.inc, line 296
LDAPInterface class definition.

Class

LDAPInterface
@file LDAPInterface class definition.

Code

function create_entry($dn, $attributes) {
  set_error_handler(array(
    'LDAPInterface',
    'void_error_handler',
  ));
  $ret = ldap_add($this->connection, $dn, $attributes);
  restore_error_handler();
  return $ret;
}