/** * Add an LDAP object. * * For this work you might need that LDAP connection is bind:ed with a user with * enough permissions to change attributes and that the LDAP connection is using * SSL/TLS. It depends on the server setup. * * @param string $dn Location to add the entry at. * @param array $attributes An associative array of attributes. * @throws \Zend\Ldap\Exception\LdapException */ public function add($dn, array $attributes) { $this->ldap->add($dn, $attributes); }