protected function _remove($gid)
{
if ($this->readOnly()) {
throw new Horde_Group_Exception('This group backend is read-only.');
}
try {
$this->_rebind(true);
$this->_ldap->delete($gid);
$this->_rebind(false);
} catch (Horde_Ldap_Exception $e) {
throw new Horde_Group_Exception($e);
}
}