Fix for OPENDJ-925, OPENDJ-926, and overall schema management. Review CR-1806.
Back a few years ago, when we did the SVR4 package, we split the schema into read-only (Install) and writable (Instance).
With the template model in 2.6, the whole schema is under config, and we should never edit/change the one in the template.
So, I've removed all code related to the 2 locations for schema, reverted some I10N messages to their previous versions, and tidy up code and tests.
All unit-tests are passing.
And it's also possible to change the instance.loc and run setup and have a fully functioning server :-)
| | |
| | | location="${package.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}" /> |
| | | |
| | | <mkdir dir="${pdir}" /> |
| | | <mkdir dir="${pdir}/bak" /> |
| | | <mkdir dir="${pdir}/bat" /> |
| | | <mkdir dir="${pdir}/bin" /> |
| | | <mkdir dir="${pdir}/classes" /> |
| | | <mkdir dir="${pdir}/config" /> |
| | | <mkdir dir="${pdir}/db" /> |
| | | <mkdir dir="${pdir}/import-tmp" /> |
| | | <mkdir dir="${pdir}/changelogDb" /> |
| | | <mkdir dir="${pdir}/ldif" /> |
| | | <mkdir dir="${pdir}/legal-notices" /> |
| | | <mkdir dir="${pdir}/lib" /> |
| | | <mkdir dir="${pdir}/lib/extensions" /> |
| | | <mkdir dir="${pdir}/locks" /> |
| | | <mkdir dir="${pdir}/logs" /> |
| | | <mkdir dir="${pdir}/template" /> |
| | | <mkdir dir="${pdir}/template/bak" /> |
| | | <mkdir dir="${pdir}/template/changelogDb" /> |
| | | <mkdir dir="${pdir}/template/classes" /> |
| | | <mkdir dir="${pdir}/template/config" /> |
| | | <mkdir dir="${pdir}/template/config/schema" /> |
| | | <mkdir dir="${pdir}/template/config/messages" /> |
| | | <mkdir dir="${pdir}/template/config/MakeLDIF" /> |
| | | <mkdir dir="${pdir}/template/config/upgrade" /> |
| | | <mkdir dir="${pdir}/template/db" /> |
| | | <mkdir dir="${pdir}/template/import-tmp" /> |
| | | <mkdir dir="${pdir}/template/ldif" /> |
| | | <mkdir dir="${pdir}/template/locks" /> |
| | | <mkdir dir="${pdir}/template/logs" /> |
| | | <mkdir dir="${pdir}/bin/ControlPanel.app" /> |
| | | <mkdir dir="${pdir}/bin/ControlPanel.app/Contents" /> |
| | | <mkdir dir="${pdir}/bin/ControlPanel.app/Contents/MacOS" /> |
| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.task; |
| | | |
| | | import static org.opends.messages.AdminToolMessages.*; |
| | | |
| | | import java.io.File; |
| | | import java.io.IOException; |
| | | import java.util.ArrayList; |
| | | import java.util.Collection; |
| | | import java.util.Collections; |
| | |
| | | import org.opends.server.types.SchemaFileElement; |
| | | import org.opends.server.util.LDIFReader; |
| | | import org.opends.server.util.LDIFWriter; |
| | | import org.opends.server.util.StaticUtils; |
| | | |
| | | /** |
| | | * The task that is launched when a schema element must be deleted. |
| | |
| | | } |
| | | } |
| | | |
| | | assert allOcsToDelete != null; |
| | | ArrayList<ObjectClass> lOcsToDelete = |
| | | new ArrayList<ObjectClass>(allOcsToDelete); |
| | | for (int i = lOcsToDelete.size() - 1; i >= 0; i--) |
| | |
| | | new LDIFExportConfig(schemaFile, |
| | | ExistingFileBehavior.OVERWRITE); |
| | | LDIFReader reader = null; |
| | | Entry schemaEntry = null; |
| | | LDIFWriter writer = null; |
| | | try |
| | | { |
| | | reader = new LDIFReader(new LDIFImportConfig(schemaFile)); |
| | | schemaEntry = reader.readEntry(); |
| | | Entry schemaEntry = reader.readEntry(); |
| | | |
| | | Modification mod = new Modification(ModificationType.DELETE, |
| | | Attributes.create( |
| | | getSchemaFileAttributeName(schemaElement).toLowerCase(), |
| | | getSchemaFileAttributeValue(schemaElement))); |
| | | schemaEntry.applyModification(mod); |
| | | LDIFWriter writer = new LDIFWriter(exportConfig); |
| | | writer = new LDIFWriter(exportConfig); |
| | | writer.writeEntry(schemaEntry); |
| | | exportConfig.getWriter().newLine(); |
| | | } |
| | | catch (Throwable t) |
| | | catch (IOException e) |
| | | { |
| | | throw new OfflineUpdateException( |
| | | ERR_CTRL_PANEL_ERROR_UPDATING_SCHEMA.get(e.toString()), e); |
| | | } |
| | | finally |
| | | { |
| | | if (reader != null) |
| | | { |
| | | try |
| | | { |
| | | reader.close(); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | } |
| | | } |
| | | if (exportConfig != null) |
| | | { |
| | | try |
| | | { |
| | | exportConfig.close(); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | } |
| | | } |
| | | StaticUtils.close(reader, exportConfig, writer); |
| | | } |
| | | } |
| | | |
| | |
| | | if (!f.isAbsolute()) |
| | | { |
| | | f = new File( |
| | | DirectoryServer.getEnvironmentConfig().getSchemaDirectory(false), |
| | | DirectoryServer.getEnvironmentConfig().getSchemaDirectory(), |
| | | schemaFile); |
| | | if (f == null || ! f.exists() || f.isDirectory()) |
| | | { |
| | | f = new File( |
| | | DirectoryServer.getEnvironmentConfig().getSchemaDirectory(true), |
| | | schemaFile); |
| | | } |
| | | } |
| | | schemaFile = f.getAbsolutePath(); |
| | | return schemaFile; |
| | |
| | | |
| | | /** |
| | | * Returns the attribute name in the schema entry that corresponds to the |
| | | * profived schema element. |
| | | * provided schema element. |
| | | * @param element the schema element. |
| | | * @return the attribute name in the schema entry that corresponds to the |
| | | * profived schema element. |
| | | * provided schema element. |
| | | */ |
| | | private String getSchemaFileAttributeName(CommonSchemaElements element) |
| | | { |
| | |
| | | } |
| | | |
| | | StringBuilder sb = new StringBuilder(); |
| | | sb.append( |
| | | msg+"<br><b>"); |
| | | sb.append(msg).append("<br><b>"); |
| | | sb.append(equiv); |
| | | sb.append("<br>"); |
| | | sb.append("dn: cn=schema<br>"); |
| | | sb.append("changetype: modify<br>"); |
| | | sb.append("delete: "+attrName+"<br>"); |
| | | sb.append(attrName+": "+attrValue); |
| | | sb.append("delete: ").append(attrName).append("<br>"); |
| | | sb.append(attrName).append(": ").append(attrValue); |
| | | sb.append("</b><br><br>"); |
| | | getProgressDialog().appendProgressHtml(Utilities.applyFont(sb.toString(), |
| | | ColorAndFontConstants.progressFont)); |
| | |
| | | { |
| | | AttributeType attrToAdd; |
| | | boolean isSuperior = false; |
| | | AttributeType newSuperior = attrToDelete.getSuperiorType(); |
| | | for (AttributeType attr : providedAttrsToDelete) |
| | | { |
| | | if (attr.equals(attrToDelete.getSuperiorType())) |
| | | { |
| | | isSuperior = true; |
| | | newSuperior = attr.getSuperiorType(); |
| | | AttributeType newSuperior = attr.getSuperiorType(); |
| | | while (newSuperior != null && |
| | | providedAttrsToDelete.contains(newSuperior)) |
| | | { |
| | |
| | | private Set<ObjectClass> getNewSuperiors(ObjectClass currentSup) |
| | | { |
| | | Set<ObjectClass> newSuperiors = new LinkedHashSet<ObjectClass>(); |
| | | if (currentSup.getSuperiorClasses() == null || |
| | | currentSup.getSuperiorClasses().isEmpty()) |
| | | { |
| | | // Nothing to do |
| | | } |
| | | else |
| | | if (currentSup.getSuperiorClasses() != null && |
| | | !currentSup.getSuperiorClasses().isEmpty()) |
| | | { |
| | | for (ObjectClass o : currentSup.getSuperiorClasses()) |
| | | { |
| | |
| | | * |
| | | * |
| | | * Copyright 2009 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.task; |
| | |
| | | import org.opends.server.util.LDIFReader; |
| | | import org.opends.server.util.LDIFWriter; |
| | | import org.opends.server.util.ServerConstants; |
| | | import org.opends.server.util.StaticUtils; |
| | | |
| | | /** |
| | | * An abstract class used to re-factor some code between the different tasks |
| | |
| | | msg = INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_ADD_OBJECTCLASS_ONLINE.get( |
| | | element.getNameOrOID()); |
| | | } |
| | | sb.append(msg+"<br><b>"); |
| | | sb.append(msg).append("<br><b>"); |
| | | sb.append(equiv); |
| | | sb.append("<br>"); |
| | | sb.append("dn: cn=schema<br>"); |
| | | sb.append("changetype: modify<br>"); |
| | | sb.append("add: "+getAttributeName(element)+"<br>"); |
| | | sb.append(getAttributeName(element)+": "+getValueOnline(element)); |
| | | sb.append("add: ").append(getAttributeName(element)).append("<br>"); |
| | | sb.append(getAttributeName(element)).append(": ") |
| | | .append(getValueOnline(element)); |
| | | sb.append("</b><br><br>"); |
| | | getProgressDialog().appendProgressHtml(Utilities.applyFont(sb.toString(), |
| | | ColorAndFontConstants.progressFont)); |
| | |
| | | final List<AttributeType> attributes, |
| | | final List<ObjectClass> objectClasses) throws OpenDsException |
| | | { |
| | | final boolean userSchema; |
| | | final String fileName; |
| | | if (file == null) |
| | | { |
| | | file = ConfigConstants.FILE_USER_SCHEMA_ELEMENTS; |
| | | userSchema = true; |
| | | } |
| | | else |
| | | { |
| | | userSchema = false; |
| | | } |
| | | File f = new File(file); |
| | | if (!f.isAbsolute()) |
| | | { |
| | | f = new File( |
| | | DirectoryServer.getEnvironmentConfig().getSchemaDirectory(userSchema), |
| | | DirectoryServer.getEnvironmentConfig().getSchemaDirectory(), |
| | | file); |
| | | } |
| | | fileName = f.getAbsolutePath(); |
| | | final String fileName = f.getAbsolutePath(); |
| | | final boolean isSchemaFileDefined = isSchemaFileDefined(fileName); |
| | | SwingUtilities.invokeLater(new Runnable() |
| | | { |
| | |
| | | sb.append( |
| | | INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_ADD_SCHEMA_ELEMENT_OFFLINE.get( |
| | | Utils.getStringFromCollection(names, ", "), |
| | | schemaFile)+"<br><b>"); |
| | | schemaFile)) |
| | | .append("<br><b>"); |
| | | for (AttributeType attribute : attributes) |
| | | { |
| | | sb.append( |
| | | getAttributeName(attribute)+": "+getValueOffline(attribute)+"<br>"); |
| | | sb.append(getAttributeName(attribute)).append(": ") |
| | | .append(getValueOffline(attribute)).append("<br>"); |
| | | } |
| | | for (ObjectClass oc : objectClasses) |
| | | { |
| | | sb.append(getAttributeName(oc)+": "+getValueOffline(oc)+"<br>"); |
| | | sb.append(getAttributeName(oc)).append(": ") |
| | | .append(getValueOffline(oc)).append("<br>"); |
| | | } |
| | | sb.append("</b><br><br>"); |
| | | |
| | |
| | | StringBuilder sb = new StringBuilder(); |
| | | sb.append(INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_ADD_SCHEMA_ENTRY_OFFLINE.get( |
| | | Utils.getStringFromCollection(names, ", "), |
| | | schemaFile)+"<br><b>"); |
| | | schemaFile)).append("<br><b>"); |
| | | for (String line : getSchemaEntryLines()) |
| | | { |
| | | sb.append(line); |
| | |
| | | } |
| | | for (AttributeType attribute : attributes) |
| | | { |
| | | sb.append( |
| | | getAttributeName(attribute)+": "+getValueOffline(attribute)+"<br>"); |
| | | sb.append(getAttributeName(attribute)).append(": ") |
| | | .append(getValueOffline(attribute)).append("<br>"); |
| | | } |
| | | for (ObjectClass oc : objectClasses) |
| | | { |
| | | sb.append(getAttributeName(oc)+": "+getValueOffline(oc)+"<br>"); |
| | | sb.append(getAttributeName(oc)).append(": ") |
| | | .append(getValueOffline(oc)).append("<br>"); |
| | | } |
| | | sb.append("</b><br><br>"); |
| | | getProgressDialog().appendProgressHtml(Utilities.applyFont(sb.toString(), |
| | |
| | | |
| | | /** |
| | | * Returns whether the file defined in the schema element exists or not. |
| | | * @param the path to the schema file. |
| | | * @param schemaFile the path to the schema file. |
| | | * @return <CODE>true</CODE> if the schema file is defined and |
| | | * <CODE>false</CODE> otherwise. |
| | | */ |
| | |
| | | } |
| | | finally |
| | | { |
| | | if (reader != null) |
| | | { |
| | | try |
| | | { |
| | | reader.close(); |
| | | StaticUtils.close(reader); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | } |
| | | } |
| | | } |
| | | |
| | | return schemaDefined; |
| | | } |
| | | |
| | |
| | | new LDIFExportConfig(schemaFile, |
| | | ExistingFileBehavior.OVERWRITE); |
| | | LDIFReader reader = null; |
| | | Entry schemaEntry = null; |
| | | LDIFWriter writer = null; |
| | | try |
| | | { |
| | | reader = new LDIFReader(new LDIFImportConfig(schemaFile)); |
| | | schemaEntry = reader.readEntry(); |
| | | Entry schemaEntry = reader.readEntry(); |
| | | |
| | | for (AttributeType attribute : attributes) |
| | | { |
| | |
| | | getValueOffline(oc))); |
| | | schemaEntry.applyModification(mod); |
| | | } |
| | | LDIFWriter writer = new LDIFWriter(exportConfig); |
| | | writer = new LDIFWriter(exportConfig); |
| | | writer.writeEntry(schemaEntry); |
| | | exportConfig.getWriter().newLine(); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | throw new OfflineUpdateException( |
| | | ERR_CTRL_PANEL_ERROR_UPDATING_SCHEMA.get(t.toString()), t); |
| | | } |
| | | finally |
| | | { |
| | | if (reader != null) |
| | | { |
| | | try |
| | | { |
| | | reader.close(); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | } |
| | | } |
| | | if (exportConfig != null) |
| | | { |
| | | try |
| | | { |
| | | exportConfig.close(); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | } |
| | | } |
| | | StaticUtils.close(reader, exportConfig, writer); |
| | | } |
| | | } |
| | | else |
| | |
| | | } |
| | | finally |
| | | { |
| | | if (exportConfig != null) |
| | | { |
| | | try |
| | | { |
| | | exportConfig.close(); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | } |
| | | } |
| | | StaticUtils.close(exportConfig); |
| | | } |
| | | } |
| | | } |
| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.util; |
| | |
| | | } |
| | | } |
| | | |
| | | private static String getSchemaDirectoryPath(boolean userSchema) |
| | | private static String getSchemaDirectoryPath() |
| | | { |
| | | File schemaDir = |
| | | DirectoryServer.getEnvironmentConfig().getSchemaDirectory(userSchema); |
| | | DirectoryServer.getEnvironmentConfig().getSchemaDirectory(); |
| | | if (schemaDir != null) { |
| | | return schemaDir.getAbsolutePath(); |
| | | } else { |
| | |
| | | { |
| | | schema = getBaseSchema(); |
| | | |
| | | String[] fileNames = null; |
| | | String[] fileNames; |
| | | String schemaDirPath= getSchemaDirectoryPath(); |
| | | try |
| | | { |
| | | String installPath = |
| | | new File(DirectoryServer.getServerRoot()).getCanonicalPath(); |
| | | String instancePath = |
| | | new File(DirectoryServer.getInstanceRoot()).getCanonicalPath(); |
| | | |
| | | // Load install directory schema |
| | | String schemaDirPath= getSchemaDirectoryPath(false); |
| | | File schemaDir = new File(schemaDirPath); |
| | | if (schemaDirPath == null || ! schemaDir.exists()) |
| | | { |
| | |
| | | return accept; |
| | | } |
| | | }; |
| | | File[] schemaInstallDirFiles = schemaDir.listFiles(ldifFiles); |
| | | File[] schemaInstanceDirFiles = null ; |
| | | int size = schemaInstallDirFiles.length; |
| | | |
| | | if (! installPath.equals(instancePath)) |
| | | { |
| | | schemaDirPath= getSchemaDirectoryPath(true); |
| | | schemaDir = new File(schemaDirPath); |
| | | if (schemaDirPath != null |
| | | && |
| | | schemaDir.exists() |
| | | && |
| | | schemaDir.isDirectory()) |
| | | { |
| | | schemaInstanceDirFiles = schemaDir.listFiles(ldifFiles); |
| | | size += schemaInstanceDirFiles.length; |
| | | } |
| | | } |
| | | File[] schemaFiles = schemaDir.listFiles(ldifFiles); |
| | | int size = schemaFiles.length; |
| | | |
| | | ArrayList<String> fileList = new ArrayList<String>(size); |
| | | for (File f : schemaInstallDirFiles) |
| | | for (File f : schemaFiles) |
| | | { |
| | | if (f.isFile()) |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | if (schemaInstanceDirFiles != null) |
| | | { |
| | | for (File f : schemaInstanceDirFiles) |
| | | { |
| | | if (f.isFile()) |
| | | { |
| | | fileList.add(f.getName()); |
| | | } |
| | | } |
| | | } |
| | | |
| | | fileNames = new String[fileList.size()]; |
| | | fileList.toArray(fileNames); |
| | | Arrays.sort(fileNames); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | t.printStackTrace(); |
| | | } |
| | | /* |
| | | catch (InitializationException ie) |
| | | { |
| | | throw ie; |
| | |
| | | catch (Exception e) |
| | | { |
| | | Message message = ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES.get( |
| | | schemaDirPath, getExceptionMessage(e)); |
| | | schemaDirPath, e.getMessage()); |
| | | throw new InitializationException(message, e); |
| | | } |
| | | */ |
| | | |
| | | // Iterate through the schema files and read them as an LDIF file containing |
| | | // a single entry. Then get the attributeTypes and objectClasses attributes |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2010 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | Server schema definitions because the schema directory %s exists but is not a \ |
| | | directory |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=Unable to read the Directory \ |
| | | Server schema definitions from directory %s or %s because an unexpected error \ |
| | | Server schema definitions from directory %s because an unexpected error \ |
| | | occurred while trying to list the files in that directory: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_OPEN_FILE_191=Schema configuration file %s \ |
| | | in directory %s cannot be parsed because an unexpected error occurred while \ |
| | |
| | | MILD_WARN_CONFIG_LOGGING_UNSUPPORTED_FIELDS_IN_LOG_FORMAT_734=The log format \ |
| | | for %s contains the folowing unsupported fields: %s. Their output will be \ |
| | | replaced with a dash ("-") character |
| | | NOTICE_DIRECTORY_CONFIGURATION_CHANGED_735=The server configuration has been changed |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | SEVERE_WARN_CONFIG_SCHEMA_SYNTAX_CONFLICTING_SYNTAX_187=Die in Konfigurationseintrag %s definierte Attributsyntax widerspricht einer anderen in der Serverkonfiguration definierten Syntax: %s. Diese Attributsyntax wird nicht verwendet |
| | | SEVERE_ERR_CONFIG_SCHEMA_NO_SCHEMA_DIR_188=Die Directory-Server-Schemadefinitionen konnten nicht gelesen werden, da das Schemaverzeichnis %s nicht vorhanden ist |
| | | SEVERE_ERR_CONFIG_SCHEMA_DIR_NOT_DIRECTORY_189=Die Directory-Server-Schemadefinitionen konnten nicht gelesen werden, da das Schemaverzeichnis %s zwar vorhanden ist, aber kein Verzeichnis darstellt |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=Die Directory-Server-Schemadefinitionen konnten nicht aus Verzeichnis %s oder %s gelesen werden, da beim Versuch, die Dateien in diesem Verzeichnis aufzulisten, ein unerwarteter Fehler aufgetreten ist: %s |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=Die Directory-Server-Schemadefinitionen konnten nicht aus Verzeichnis %s gelesen werden, da beim Versuch, die Dateien in diesem Verzeichnis aufzulisten, ein unerwarteter Fehler aufgetreten ist: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_OPEN_FILE_191=Die Schemakonfigurationsdatei %s in Verzeichnis %s kann nicht analysiert werden, da beim Versuch, die Datei zum Lesen zu \u00f6ffnen, ein unerwarteter Fehler aufgetreten ist: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_READ_LDIF_ENTRY_192=Die Schemakonfigurationsdatei %s in Verzeichnis %s kann nicht analysiert werden, da beim Versuch, den Inhalt als LDIF-Eintrag zu lesen, ein unerwarteter Fehler aufgetreten ist: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_PARSE_ATTR_TYPE_193=Eine Attributtypdefinition konnte nicht aus Schemakonfigurationsdatei %s gelesen werden: %s |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | SEVERE_WARN_CONFIG_SCHEMA_SYNTAX_CONFLICTING_SYNTAX_187=La sintaxis de atributo definida en la entrada de configuraci\u00f3n %s entra en conflicto con otra sintaxis definida en la configuraci\u00f3n del servidor: %s. Esta sintaxis de atributo no se utilizar\u00e1 |
| | | SEVERE_ERR_CONFIG_SCHEMA_NO_SCHEMA_DIR_188=No pueden leerse las definiciones del esquema del Servidor de directorios porque el directorio de esquema %s no existe |
| | | SEVERE_ERR_CONFIG_SCHEMA_DIR_NOT_DIRECTORY_189=No pueden leerse las definiciones del esquema del Servidor de directorios debido a que, pese a que existe el directorio de esquema %s, \u00e9ste no es un directorio |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=No pueden leerse las definiciones del esquema del Servidor de directorios desde el directorio %s o %s debido a que se ha producido un error inesperado al tratar de mostrar los archivos en ese directorio: %s |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=No pueden leerse las definiciones del esquema del Servidor de directorios desde el directorio %s debido a que se ha producido un error inesperado al tratar de mostrar los archivos en ese directorio: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_OPEN_FILE_191=No puede analizarse el archivo de configuraci\u00f3n de esquema %s en el directorio %s debido a que se ha producido un error inesperado al tratar de abrir el archivo para su lectura: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_READ_LDIF_ENTRY_192=No puede analizarse el archivo de configuraci\u00f3n de esquema %s en el directorio %s debido a que se ha producido un error inesperado al tratar de leer su contenido como una entrada LDIF: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_PARSE_ATTR_TYPE_193=No puede analizarse una definici\u00f3n del tipo de atributo del archivo de configuraci\u00f3n de esquema %s: %s |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | SEVERE_WARN_CONFIG_SCHEMA_SYNTAX_CONFLICTING_SYNTAX_187=La syntaxe d\u2019attribut d\u00e9finie dans l\u2019entr\u00e9e de configuration %s est en conflit avec une autre syntaxe d\u2019attribut d\u00e9finie dans la configuration de serveur\u00a0: %s. Cette syntaxe d\u2019attribut ne sera pas utilis\u00e9e |
| | | SEVERE_ERR_CONFIG_SCHEMA_NO_SCHEMA_DIR_188=Impossible de lire les d\u00e9finitions de sch\u00e9ma Directory Server car le r\u00e9pertoire de sch\u00e9ma %s n\u2019existe pas |
| | | SEVERE_ERR_CONFIG_SCHEMA_DIR_NOT_DIRECTORY_189=Impossible de lire les d\u00e9finitions de sch\u00e9ma Directory Server car le r\u00e9pertoire de sch\u00e9ma %s existe mais n\u2019est pas un r\u00e9pertoire |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=Impossible de lire les d\u00e9finitions de sch\u00e9ma Directory Server depuis le r\u00e9pertoire %s ou %s car une erreur inattendue s\u2019est produite lors de la tentative d\u2019\u00e9num\u00e9ration des fichiers de ce r\u00e9pertoire\u00a0: %s |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=Impossible de lire les d\u00e9finitions de sch\u00e9ma Directory Server depuis le r\u00e9pertoire %s car une erreur inattendue s\u2019est produite lors de la tentative d\u2019\u00e9num\u00e9ration des fichiers de ce r\u00e9pertoire\u00a0: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_OPEN_FILE_191=Impossible d\u2019analyser le fichier de configuration de sch\u00e9ma %s dans le r\u00e9pertoire %s car une erreur inattendue s\u2019est produite lors de la tentative d\u2019ouverture du fichier pour la lecture\u00a0: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_READ_LDIF_ENTRY_192=Impossible d\u2019analyser le fichier de configuration de sch\u00e9ma %s dans le r\u00e9pertoire %s car une erreur inattendue s\u2019est produite lors de la tentative de lecture de son contenu en tant qu\u2019entr\u00e9e LDIF\u00a0: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_PARSE_ATTR_TYPE_193=Impossible d\u2019analyser une d\u00e9finition de type d\u2019attribut \u00e0 partir du fichier de configuration de sch\u00e9ma %s\u00a0: %s |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | SEVERE_WARN_CONFIG_SCHEMA_SYNTAX_CONFLICTING_SYNTAX_187=\u69cb\u6210\u30a8\u30f3\u30c8\u30ea %s \u3067\u5b9a\u7fa9\u3055\u308c\u305f\u5c5e\u6027\u69cb\u6587\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u69cb\u6210\u3067\u5b9a\u7fa9\u3055\u308c\u305f\u5225\u306e\u69cb\u6587\u3068\u7af6\u5408\u3057\u3066\u3044\u307e\u3059: %s\u3002\u3053\u306e\u5c5e\u6027\u69cb\u6587\u306f\u4f7f\u7528\u3055\u308c\u307e\u305b\u3093 |
| | | SEVERE_ERR_CONFIG_SCHEMA_NO_SCHEMA_DIR_188=\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30b5\u30fc\u30d0\u30fc\u306e\u30b9\u30ad\u30fc\u30de\u5b9a\u7fa9\u3092\u8aad\u307f\u53d6\u308c\u307e\u305b\u3093\u3002\u30b9\u30ad\u30fc\u30de\u30c7\u30a3\u30ec\u30af\u30c8\u30ea %s \u304c\u5b58\u5728\u3057\u307e\u305b\u3093 |
| | | SEVERE_ERR_CONFIG_SCHEMA_DIR_NOT_DIRECTORY_189=\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30b5\u30fc\u30d0\u30fc\u306e\u30b9\u30ad\u30fc\u30de\u5b9a\u7fa9\u3092\u8aad\u307f\u53d6\u308c\u307e\u305b\u3093\u3002\u30b9\u30ad\u30fc\u30de\u30c7\u30a3\u30ec\u30af\u30c8\u30ea %s \u306f\u5b58\u5728\u3057\u307e\u3059\u304c\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u306f\u3042\u308a\u307e\u305b\u3093 |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=\u30c7\u30a3\u30ec\u30af\u30c8\u30ea %s \u307e\u305f\u306f %s \u304b\u3089\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30b5\u30fc\u30d0\u30fc\u306e\u30b9\u30ad\u30fc\u30de\u5b9a\u7fa9\u3092\u8aad\u307f\u53d6\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u89a7\u8868\u793a\u4e2d\u306b\u4e88\u671f\u3057\u306a\u3044\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: %s |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=\u30c7\u30a3\u30ec\u30af\u30c8\u30ea %s \u304b\u3089\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30b5\u30fc\u30d0\u30fc\u306e\u30b9\u30ad\u30fc\u30de\u5b9a\u7fa9\u3092\u8aad\u307f\u53d6\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u89a7\u8868\u793a\u4e2d\u306b\u4e88\u671f\u3057\u306a\u3044\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_OPEN_FILE_191=\u30c7\u30a3\u30ec\u30af\u30c8\u30ea %2$s \u5185\u306e\u30b9\u30ad\u30fc\u30de\u69cb\u6210\u30d5\u30a1\u30a4\u30eb %1$s \u3092\u89e3\u6790\u3067\u304d\u307e\u305b\u3093\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u53d6\u308a\u7528\u306b\u958b\u3044\u3066\u3044\u308b\u3068\u304d\u306b\u4e88\u671f\u3057\u306a\u3044\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: %3$s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_READ_LDIF_ENTRY_192=\u30c7\u30a3\u30ec\u30af\u30c8\u30ea %2$s \u5185\u306e\u30b9\u30ad\u30fc\u30de\u69cb\u6210\u30d5\u30a1\u30a4\u30eb %1$s \u3092\u89e3\u6790\u3067\u304d\u307e\u305b\u3093\u3002\u3053\u306e\u5185\u5bb9\u3092 LDIF \u30a8\u30f3\u30c8\u30ea\u3068\u3057\u3066\u8aad\u307f\u53d6\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u4e88\u671f\u3057\u306a\u3044\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: %3$s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_PARSE_ATTR_TYPE_193=\u30b9\u30ad\u30fc\u30de\u69cb\u6210\u30d5\u30a1\u30a4\u30eb %s \u306e\u5c5e\u6027\u578b\u5b9a\u7fa9\u3092\u89e3\u6790\u3067\u304d\u307e\u305b\u3093: %s |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | SEVERE_WARN_CONFIG_SCHEMA_SYNTAX_NO_ENABLED_ATTR_180=\uc18d\uc131 \uad6c\ubb38 \uad6c\uc131 \ud56d\ubaa9 %s\uc5d0 \uad6c\ubb38\uc744 \ud65c\uc131\ud654 \ub610\ub294 \ube44\ud65c\uc131\ud654\ud560\uc9c0 \uc5ec\ubd80\ub97c \ub098\ud0c0\ub0b4\ub294 \ub370 \uc0ac\uc6a9\ub418\ub294 ds-cfg-enabled \uc18d\uc131\uc774 \ud3ec\ud568\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc774 \uc18d\uc131\uc774 \uc5c6\uc73c\uba74 \uae30\ubcf8\uc801\uc73c\ub85c \ube44\ud65c\uc131\ud654\ub429\ub2c8\ub2e4. |
| | | INFO_CONFIG_SCHEMA_SYNTAX_DISABLED_181=\uad6c\uc131 \ud56d\ubaa9 %s\uc5d0 \uc815\uc758\ub41c \uc18d\uc131 \uad6c\ubb38\uc774 \ube44\ud65c\uc131\uc73c\ub85c \ud45c\uc2dc\ub418\uc5b4 \uc788\uc73c\ubbc0\ub85c \uc0ac\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc774\uc804\uc5d0 \ud558\ub098 \uc774\uc0c1\uc758 \uc18d\uc131\uc5d0 \ub300\ud574 \uc77c\uce58 \uaddc\uce59\uc774 \uc0ac\uc6a9\ub41c \uacbd\uc6b0 \ud574\ub2f9 \uc18d\uc131 \uac12\uc5d0 \ub300\ud55c \uc77c\uce58\uac00 \ub354 \uc774\uc0c1 \uc791\ub3d9\ud558\uc9c0 \uc54a\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. |
| | | SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_UNABLE_TO_DETERMINE_ENABLED_STATE_182=\uad6c\uc131 \ud56d\ubaa9 %s\uc5d0 \uc5f0\uacb0\ub41c \uc18d\uc131 \uad6c\ubb38\uc744 \ud65c\uc131\ud654 \ub610\ub294 \ube44\ud65c\uc131\ud654\ud560\uc9c0 \uc5ec\ubd80\ub97c \ud655\uc778\ud558\ub294 \ub3d9\uc548 \uc608\uae30\uce58 \uc54a\uc740 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4: %s. \uc18d\uc131 \uad6c\ubb38\uc774 \ube44\ud65c\uc131\ud654\ub429\ub2c8\ub2e4. |
| | | SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_NO_CLASS_ATTR_183=Matching rule configuration entry %s does not contain attribute ds-cfg-java-class, which is used to specify the name of the class that provides the attribute syntax implementation. \uc774 \uad6c\uc131 \ud56d\ubaa9\uacfc \uc5f0\uacb0\ub41c \uad6c\ubb38\uc774 \ube44\ud65c\uc131\ud654\ub429\ub2c8\ub2e4. |
| | | #SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_NO_CLASS_ATTR_183=Matching rule configuration entry %s does not contain attribute ds-cfg-java-class, which is used to specify the name of the class that provides the attribute syntax implementation. \uc774 \uad6c\uc131 \ud56d\ubaa9\uacfc \uc5f0\uacb0\ub41c \uad6c\ubb38\uc774 \ube44\ud65c\uc131\ud654\ub429\ub2c8\ub2e4. |
| | | SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_CANNOT_GET_CLASS_184=\uc18d\uc131 \uad6c\ubb38 %s\uc5d0 \ub300\ud55c \uad6c\ud604\uc774 \ud3ec\ud568\ub41c Java \ud074\ub798\uc2a4 \uc774\ub984\uc744 \ud655\uc778\ud558\ub294 \ub3d9\uc548 \uc608\uae30\uce58 \uc54a\uc740 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4: %s. \uc774 \uad6c\ubb38\uc774 \ube44\ud65c\uc131\ud654\ub429\ub2c8\ub2e4. |
| | | SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_CANNOT_INSTANTIATE_185=\ub514\ub809\ud1a0\ub9ac \uc11c\ubc84\uc5d0\uc11c %s \ud074\ub798\uc2a4\ub97c \ub85c\ub4dc\ud558\uc5ec \uad6c\uc131 \ud56d\ubaa9 %s\uc5d0 \uc815\uc758\ub41c \ub300\ub85c \uc18d\uc131 \uad6c\ubb38 \uc778\uc2a4\ud134\uc2a4\ub97c \ub9cc\ub4e4 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. %s \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \uc774 \uad6c\ubb38\uc774 \ube44\ud65c\uc131\ud654\ub429\ub2c8\ub2e4. |
| | | SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_CANNOT_INITIALIZE_186=%1$s \ud074\ub798\uc2a4\uc5d0\uc11c \ub85c\ub4dc\ub41c \uc18d\uc131 \uad6c\ubb38\uc744 \uad6c\uc131 \ud56d\ubaa9 %2$s\uc758 \uc815\ubcf4\ub85c \ucd08\uae30\ud654\ud558\ub294 \ub3d9\uc548 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4: %3$s. \uc774 \uad6c\ubb38\uc774 \ube44\ud65c\uc131\ud654\ub429\ub2c8\ub2e4. |
| | | SEVERE_WARN_CONFIG_SCHEMA_SYNTAX_CONFLICTING_SYNTAX_187=\uad6c\uc131 \ud56d\ubaa9 %s\uc5d0 \uc815\uc758\ub41c \uc18d\uc131 \uad6c\ubb38\uc774 \uc11c\ubc84 \uad6c\uc131\uc5d0 \uc815\uc758\ub41c \ub2e4\ub978 \uad6c\ubb38\uacfc \ucda9\ub3cc\ud569\ub2c8\ub2e4: %s. \uc774 \uc18d\uc131 \uad6c\ubb38\uc774 \uc0ac\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. |
| | | SEVERE_ERR_CONFIG_SCHEMA_NO_SCHEMA_DIR_188=\uc2a4\ud0a4\ub9c8 \ub514\ub809\ud1a0\ub9ac %s\uc774(\uac00) \uc5c6\uae30 \ub54c\ubb38\uc5d0 \ub514\ub809\ud1a0\ub9ac \uc11c\ubc84 \uc2a4\ud0a4\ub9c8 \uc815\uc758\ub97c \uc77d\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. |
| | | SEVERE_ERR_CONFIG_SCHEMA_DIR_NOT_DIRECTORY_189=\uc2a4\ud0a4\ub9c8 \ub514\ub809\ud1a0\ub9ac %s\uc774(\uac00) \uc788\uc9c0\ub9cc \ub514\ub809\ud1a0\ub9ac\uac00 \uc544\ub2c8\ubbc0\ub85c \ub514\ub809\ud1a0\ub9ac \uc11c\ubc84 \uc2a4\ud0a4\ub9c8 \uc815\uc758\ub97c \uc77d\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=Unable to read the Directory Server schema definitions from directory %s or %s because an unexpected error occurred while trying to list the files in that directory: %s |
| | | #SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=Unable to read the Directory Server schema definitions from directory %s because an unexpected error occurred while trying to list the files in that directory: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_OPEN_FILE_191=\uc77d\uc744 \ud30c\uc77c\uc744 \uc5ec\ub294 \ub3d9\uc548 \uc608\uae30\uce58 \uc54a\uc740 \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uc5ec \ub514\ub809\ud1a0\ub9ac %2$s\uc758 \uc2a4\ud0a4\ub9c8 \uad6c\uc131 \ud30c\uc77c %1$s\uc744(\ub97c) \uad6c\ubb38 \ubd84\uc11d\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4: %3$s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_READ_LDIF_ENTRY_192=\ub514\ub809\ud1a0\ub9ac %2$s\uc758 \uc2a4\ud0a4\ub9c8 \uad6c\uc131 \ud30c\uc77c %1$s\uc758 \ub0b4\uc6a9\uc744 LDIF \ud56d\ubaa9\uc73c\ub85c \uc77d\ub294 \ub3d9\uc548 \uc608\uae30\uce58 \uc54a\uc740 \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uc5ec \uc774 \ud30c\uc77c\uc744 \uad6c\ubb38 \ubd84\uc11d\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4: %3$s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_PARSE_ATTR_TYPE_193=\uc2a4\ud0a4\ub9c8 \uad6c\uc131 \ud30c\uc77c %s\uc5d0\uc11c \uc18d\uc131 \uc720\ud615 \uc815\uc758\ub97c \uad6c\ubb38 \ubd84\uc11d\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4: %s |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | SEVERE_WARN_CONFIG_SCHEMA_SYNTAX_CONFLICTING_SYNTAX_187=\u914d\u7f6e\u6761\u76ee %s \u4e2d\u5b9a\u4e49\u7684\u5c5e\u6027\u8bed\u6cd5\u4e0e\u670d\u52a1\u5668\u914d\u7f6e\u4e2d\u5b9a\u4e49\u7684\u53e6\u4e00\u4e2a\u8bed\u6cd5\u51b2\u7a81: %s\u3002\u5c06\u4e0d\u4f1a\u4f7f\u7528\u6b64\u5c5e\u6027\u8bed\u6cd5 |
| | | SEVERE_ERR_CONFIG_SCHEMA_NO_SCHEMA_DIR_188=\u65e0\u6cd5\u8bfb\u53d6\u76ee\u5f55\u670d\u52a1\u5668\u6a21\u5f0f\u5b9a\u4e49\uff0c\u56e0\u4e3a\u6a21\u5f0f\u76ee\u5f55 %s \u4e0d\u5b58\u5728 |
| | | SEVERE_ERR_CONFIG_SCHEMA_DIR_NOT_DIRECTORY_189=\u65e0\u6cd5\u8bfb\u53d6\u76ee\u5f55\u670d\u52a1\u5668\u6a21\u5f0f\u5b9a\u4e49\uff0c\u56e0\u4e3a\u867d\u7136\u6a21\u5f0f\u76ee\u5f55 %s \u5b58\u5728\uff0c\u4f46\u662f\u5b83\u5e76\u4e0d\u662f\u76ee\u5f55 |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=\u65e0\u6cd5\u4ece\u76ee\u5f55 %s \u6216 %s \u8bfb\u53d6\u76ee\u5f55\u670d\u52a1\u5668\u6a21\u5f0f\u5b9a\u4e49\uff0c\u56e0\u4e3a\u5c1d\u8bd5\u5217\u51fa\u8be5\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u65f6\u51fa\u73b0\u610f\u5916\u9519\u8bef: %s |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=\u65e0\u6cd5\u4ece\u76ee\u5f55 %s \u8bfb\u53d6\u76ee\u5f55\u670d\u52a1\u5668\u6a21\u5f0f\u5b9a\u4e49\uff0c\u56e0\u4e3a\u5c1d\u8bd5\u5217\u51fa\u8be5\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u65f6\u51fa\u73b0\u610f\u5916\u9519\u8bef: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_OPEN_FILE_191=\u65e0\u6cd5\u89e3\u6790\u76ee\u5f55 %2$s \u4e2d\u7684\u6a21\u5f0f\u914d\u7f6e\u6587\u4ef6 %1$s\uff0c\u56e0\u4e3a\u5c1d\u8bd5\u6253\u5f00\u7528\u4e8e\u8bfb\u53d6\u7684\u6587\u4ef6\u65f6\u51fa\u73b0\u610f\u5916\u9519\u8bef: %3$s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_READ_LDIF_ENTRY_192=\u65e0\u6cd5\u89e3\u6790\u76ee\u5f55 %2$s \u4e2d\u7684\u6a21\u5f0f\u914d\u7f6e\u6587\u4ef6 %1$s\uff0c\u56e0\u4e3a\u5c1d\u8bd5\u5c06\u5176\u5185\u5bb9\u4f5c\u4e3a LDIF \u6761\u76ee\u8bfb\u53d6\u65f6\u51fa\u73b0\u610f\u5916\u9519\u8bef: %3$s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_PARSE_ATTR_TYPE_193=\u65e0\u6cd5\u4ece\u6a21\u5f0f\u914d\u7f6e\u6587\u4ef6 %s \u89e3\u6790\u5c5e\u6027\u7c7b\u578b\u5b9a\u4e49: %s |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | SEVERE_WARN_CONFIG_SCHEMA_SYNTAX_NO_ENABLED_ATTR_180=\u5c6c\u6027\u8a9e\u6cd5\u914d\u7f6e\u9805\u76ee %s \u4e0d\u5305\u542b ds-cfg-enabled \u5c6c\u6027\uff0c\u800c\u6b64\u5c6c\u6027\u7528\u4f86\u8868\u793a\u61c9\u8a72\u555f\u7528\u6216\u505c\u7528\u8a9e\u6cd5\u3002\u5982\u679c\u6c92\u6709\u6b64\u5c6c\u6027\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u505c\u7528 |
| | | INFO_CONFIG_SCHEMA_SYNTAX_DISABLED_181=\u914d\u7f6e\u9805\u76ee %s \u4e2d\u5b9a\u7fa9\u7684\u5c6c\u6027\u8a9e\u6cd5\u5df2\u6a19\u793a\u70ba\u505c\u7528\uff0c\u56e0\u6b64\u5c07\u4e0d\u6703\u4f7f\u7528\u3002\u5982\u679c\u904e\u53bb\u5df2\u5c07\u5b83\u7528\u65bc\u4e00\u6216\u591a\u500b\u5c6c\u6027\uff0c\u5247\u90a3\u4e9b\u5c6c\u6027\u503c\u7684\u76f8\u7b26\u53ef\u80fd\u7121\u6cd5\u518d\u904b\u4f5c |
| | | SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_UNABLE_TO_DETERMINE_ENABLED_STATE_182=\u5617\u8a66\u5224\u5b9a\u61c9\u8a72\u555f\u7528\u6216\u505c\u7528\u8207\u914d\u7f6e\u9805\u76ee %s \u76f8\u95dc\u7684\u5c6c\u6027\u8a9e\u6cd5\u6642\uff0c\u767c\u751f\u672a\u9810\u671f\u7684\u932f\u8aa4: %s\u3002\u5c07\u4e88\u4ee5\u505c\u7528 |
| | | SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_NO_CLASS_ATTR_183=Matching rule configuration entry %s does not contain attribute ds-cfg-java-class, which is used to specify the name of the class that provides the attribute syntax implementation. \u5c07\u505c\u7528\u8207\u6b64\u914d\u7f6e\u9805\u76ee\u76f8\u95dc\u7684\u8a9e\u6cd5 |
| | | #SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_NO_CLASS_ATTR_183=Matching rule configuration entry %s does not contain attribute ds-cfg-java-class, which is used to specify the name of the class that provides the attribute syntax implementation. \u5c07\u505c\u7528\u8207\u6b64\u914d\u7f6e\u9805\u76ee\u76f8\u95dc\u7684\u8a9e\u6cd5 |
| | | SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_CANNOT_GET_CLASS_184=\u5617\u8a66\u5224\u5b9a\u542b\u6709\u5c6c\u6027\u8a9e\u6cd5 %s \u5be6\u4f5c\u7684 Java \u985e\u5225\u540d\u7a31\u6642\uff0c\u767c\u751f\u672a\u9810\u671f\u7684\u932f\u8aa4: %s\u3002\u5c07\u505c\u7528\u6b64\u8a9e\u6cd5 |
| | | SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_CANNOT_INSTANTIATE_185=\u76ee\u9304\u4f3a\u670d\u5668\u7121\u6cd5\u8f09\u5165\u985e\u5225 %s\uff0c\u4e26\u4f7f\u7528\u6b64\u985e\u5225\u4f86\u5efa\u7acb\u914d\u7f6e\u9805\u76ee %s \u4e2d\u5b9a\u7fa9\u7684\u5c6c\u6027\u8a9e\u6cd5\u5be6\u4f8b\u3002\u767c\u751f\u7684\u932f\u8aa4\u70ba: %s\u3002\u5c07\u505c\u7528\u6b64\u8a9e\u6cd5 |
| | | SEVERE_ERR_CONFIG_SCHEMA_SYNTAX_CANNOT_INITIALIZE_186=\u5617\u8a66\u4f7f\u7528\u914d\u7f6e\u9805\u76ee %2$s \u4e2d\u7684\u8cc7\u8a0a\uff0c\u521d\u59cb\u5316\u5f9e\u985e\u5225 %1$s \u8f09\u5165\u7684\u5c6c\u6027\u8a9e\u6cd5\u6642\u767c\u751f\u932f\u8aa4: %3$s\u3002\u5c07\u505c\u7528\u6b64\u8a9e\u6cd5 |
| | | SEVERE_WARN_CONFIG_SCHEMA_SYNTAX_CONFLICTING_SYNTAX_187=\u914d\u7f6e\u9805\u76ee %s \u4e2d\u5b9a\u7fa9\u7684\u5c6c\u6027\u8a9e\u6cd5\uff0c\u8207\u4f3a\u670d\u5668\u914d\u7f6e\u4e2d\u5b9a\u7fa9\u7684\u53e6\u4e00\u500b\u8a9e\u6cd5\u885d\u7a81: %s\u3002\u5c07\u4e0d\u6703\u4f7f\u7528\u6b64\u5c6c\u6027\u8a9e\u6cd5 |
| | | SEVERE_ERR_CONFIG_SCHEMA_NO_SCHEMA_DIR_188=\u7121\u6cd5\u8b80\u53d6\u76ee\u9304\u4f3a\u670d\u5668\u6a21\u5f0f\u5b9a\u7fa9\uff0c\u56e0\u70ba\u6a21\u5f0f\u76ee\u9304 %s \u4e0d\u5b58\u5728 |
| | | SEVERE_ERR_CONFIG_SCHEMA_DIR_NOT_DIRECTORY_189=\u7121\u6cd5\u8b80\u53d6\u76ee\u9304\u4f3a\u670d\u5668\u6a21\u5f0f\u5b9a\u7fa9\uff0c\u56e0\u70ba\u6a21\u5f0f\u76ee\u9304 %s \u5b58\u5728\u4f46\u4e0d\u662f\u76ee\u9304 |
| | | SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=Unable to read the Directory Server schema definitions from directory %s or %s because an unexpected error occurred while trying to list the files in that directory: %s |
| | | #SEVERE_ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES_190=Unable to read the Directory Server schema definitions from directory %s because an unexpected error occurred while trying to list the files in that directory: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_OPEN_FILE_191=\u7121\u6cd5\u5256\u6790\u6a21\u5f0f\u914d\u7f6e\u6a94\u6848 %s (\u4f4d\u65bc\u76ee\u9304 %s \u4e2d)\uff0c\u56e0\u70ba\u5617\u8a66\u958b\u555f\u6a94\u6848\u4ee5\u8b80\u53d6\u6642\u767c\u751f\u672a\u9810\u671f\u7684\u932f\u8aa4: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_READ_LDIF_ENTRY_192=\u7121\u6cd5\u5256\u6790\u6a21\u5f0f\u914d\u7f6e\u6a94\u6848 %s (\u4f4d\u65bc\u76ee\u9304 %s \u4e2d)\uff0c\u56e0\u70ba\u5617\u8a66\u5c07\u5b83\u7684\u5167\u5bb9\u8b80\u53d6\u70ba LDIF \u9805\u76ee\u6642\u767c\u751f\u672a\u9810\u671f\u7684\u932f\u8aa4: %s |
| | | SEVERE_WARN_CONFIG_SCHEMA_CANNOT_PARSE_ATTR_TYPE_193=\u7121\u6cd5\u5256\u6790\u6a21\u5f0f\u914d\u7f6e\u6a94\u6848 %s \u4e2d\u7684\u5c6c\u6027\u985e\u578b\u5b9a\u7fa9: %s |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions copyright 2012 ForgeRock AS. |
| | | # Portions copyright 2012-2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | %s of task entry %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=Unable to add one or more files \ |
| | | to the server schema because the specified schema file %s does not exist in \ |
| | | schema directories %s or %s |
| | | schema directory %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=Unable to add one or \ |
| | | more files to the server schema because an error occurred while attempting to \ |
| | | determine whether file %s exists in schema directory %s or %s: %s |
| | | determine whether file %s exists in schema directory %s: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_LOADING_SCHEMA_FILE_8=An error occurred \ |
| | | while attempting to load the contents of schema file %s into the server \ |
| | | schema: %s |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | INFO_TASK_SHUTDOWN_DEFAULT_MESSAGE_3=Das Beenden des Directory-Servers wurde von Aufgabe %s initiiert |
| | | INFO_TASK_SHUTDOWN_CUSTOM_MESSAGE_4=Das Beenden des Directory-Servers wurde von Aufgabe %s initiiert: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_FILENAME_5=Eine oder mehrere Dateien konnten nicht zum Server-Schema hinzugef\u00fcgt werden, da keine Schemadateinamen in Attribut %s des Aufgabeneintrags %s angegeben war |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=Eine oder mehrere Dateien konnten nicht zum Server-Schema hinzugef\u00fcgt werden, da die angegebene Schemadatei %s nicht in Schemaverzeichnis %s oder %s vorhanden ist |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=Eine oder mehrere Dateien konnten nicht zum Server-Schema hinzugef\u00fcgt werden, da beim Versuch, festzustellen, ob Datei %s in Schemaverzeichnis %s oder %s vorhanden ist, ein Fehler aufgetreten ist: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=Eine oder mehrere Dateien konnten nicht zum Server-Schema hinzugef\u00fcgt werden, da die angegebene Schemadatei %s nicht in Schemaverzeichnis %s vorhanden ist |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=Eine oder mehrere Dateien konnten nicht zum Server-Schema hinzugef\u00fcgt werden, da beim Versuch, festzustellen, ob Datei %s in Schemaverzeichnis %s vorhanden ist, ein Fehler aufgetreten ist: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_LOADING_SCHEMA_FILE_8=Fehler beim Versuch, den Inhalt von Schemadatei %s in das Server-Schema zu laden: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_CANNOT_LOCK_SCHEMA_9=Eine oder mehrere Dateien konnten nicht zum Server-Schema hinzugef\u00fcgt werden, da der Server nach mehreren Versuchen keine Schreibsperre f\u00fcr Schemaeintrag %s hinzuf\u00fcgen konnte |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_INSUFFICIENT_PRIVILEGES_10=Sie verf\u00fcgen nicht \u00fcber ausreichende Berechtigungen, um das Server-Schema zu \u00e4ndern |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | INFO_TASK_SHUTDOWN_DEFAULT_MESSAGE_3=La tarea %s ha iniciado el proceso de cierre del servidor de directorios |
| | | INFO_TASK_SHUTDOWN_CUSTOM_MESSAGE_4=La tarea %s ha iniciado el proceso de cierre del servidor de directorios: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_FILENAME_5=No se pueden a\u00f1adir uno o m\u00e1s archivos al esquema de servidor porque no se han proporcionado nombres de archivo de esquema en el atributo %s de la entrada de tarea %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=No se pueden a\u00f1adir uno o m\u00e1s archivos al esquema de servidor porque el archivo de esquema %s especificado no existe en los directorios de esquema %s o %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=No se pueden a\u00f1adir uno o m\u00e1s archivos al esquema de servidor porque se ha producido un error al tratar de determinar si existe el archivo %s en el directorio de esquema %s o %s: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=No se pueden a\u00f1adir uno o m\u00e1s archivos al esquema de servidor porque el archivo de esquema %s especificado no existe en los directorios de esquema %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=No se pueden a\u00f1adir uno o m\u00e1s archivos al esquema de servidor porque se ha producido un error al tratar de determinar si existe el archivo %s en el directorio de esquema %s: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_LOADING_SCHEMA_FILE_8=Se ha producido un error al tratar de cargar los contenidos del archivo de esquema %s en el esquema de servidor: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_CANNOT_LOCK_SCHEMA_9=No se pueden a\u00f1adir uno o m\u00e1s archivos al esquema de servidor porque, tras varios intentos, el servidor no pudo obtener un bloqueo de escritura sobre la entrada de esquema %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_INSUFFICIENT_PRIVILEGES_10=No dispone de suficientes privilegios para modificar el esquema de servidor |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | INFO_TASK_SHUTDOWN_DEFAULT_MESSAGE_3=Le processus d'arr\u00eat de Directory Server a \u00e9t\u00e9 initi\u00e9 par la t\u00e2che %s |
| | | INFO_TASK_SHUTDOWN_CUSTOM_MESSAGE_4=Le processus d'arr\u00eat de Directory Server a \u00e9t\u00e9 initi\u00e9 par la t\u00e2che %s\u00a0: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_FILENAME_5=Impossible d'ajouter un ou plusieurs fichiers au sch\u00e9ma de serveur car aucun nom de fichier de sch\u00e9ma n'a \u00e9t\u00e9 fourni dans l'attribut %s de l'entr\u00e9e de t\u00e2che %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=Impossible d'ajouter un ou plusieurs fichiers au sch\u00e9ma de serveur car le fichier de sch\u00e9ma sp\u00e9cifi\u00e9 (%s) n'existe pas dans les r\u00e9pertoires de sch\u00e9ma %s ou %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=Impossible d'ajouter un ou plusieurs fichiers au sch\u00e9ma de serveur car une erreur s'est produite lors de la tentative de d\u00e9termination de l'existence du fichier %s dans le r\u00e9pertoire de sch\u00e9ma %s ou %s\u00a0: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=Impossible d'ajouter un ou plusieurs fichiers au sch\u00e9ma de serveur car le fichier de sch\u00e9ma sp\u00e9cifi\u00e9 (%s) n'existe pas dans les r\u00e9pertoires de sch\u00e9ma %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=Impossible d'ajouter un ou plusieurs fichiers au sch\u00e9ma de serveur car une erreur s'est produite lors de la tentative de d\u00e9termination de l'existence du fichier %s dans le r\u00e9pertoire de sch\u00e9ma %s\u00a0: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_LOADING_SCHEMA_FILE_8=Une erreur s'est produite lors de la tentative de chargement du contenu du fichier de sch\u00e9ma %s dans le sch\u00e9ma de serveur\u00a0: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_CANNOT_LOCK_SCHEMA_9=Impossible d'ajouter un ou plusieurs fichiers au sch\u00e9ma de serveur car ce serveur n'a pas pu obtenir de verrou en \u00e9criture sur l'entr\u00e9e de sch\u00e9ma %s apr\u00e8s plusieurs tentatives |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_INSUFFICIENT_PRIVILEGES_10=Vous ne disposez pas de privil\u00e8ges suffisants pour modifier le sch\u00e9ma de serveur |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | INFO_TASK_SHUTDOWN_DEFAULT_MESSAGE_3=\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30b5\u30fc\u30d0\u30fc\u306e\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u30d7\u30ed\u30bb\u30b9\u304c\u30bf\u30b9\u30af %s \u306b\u3088\u308a\u958b\u59cb\u3055\u308c\u307e\u3057\u305f |
| | | INFO_TASK_SHUTDOWN_CUSTOM_MESSAGE_4=\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30b5\u30fc\u30d0\u30fc\u306e\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u30d7\u30ed\u30bb\u30b9\u304c\u30bf\u30b9\u30af %s \u306b\u3088\u308a\u958b\u59cb\u3055\u308c\u307e\u3057\u305f: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_FILENAME_5=\u30b5\u30fc\u30d0\u30fc\u30b9\u30ad\u30fc\u30de\u306b 1 \u3064\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3002\u30bf\u30b9\u30af\u30a8\u30f3\u30c8\u30ea %2$s \u306e\u5c5e\u6027 %1$s \u3067\u30b9\u30ad\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=\u30b5\u30fc\u30d0\u30fc\u30b9\u30ad\u30fc\u30de\u306b 1 \u3064\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3002\u6307\u5b9a\u3055\u308c\u305f\u30b9\u30ad\u30fc\u30de\u30d5\u30a1\u30a4\u30eb %s \u304c\u30b9\u30ad\u30fc\u30de\u30c7\u30a3\u30ec\u30af\u30c8\u30ea %s \u307e\u305f\u306f %s \u306b\u5b58\u5728\u3057\u307e\u305b\u3093 |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=\u30b5\u30fc\u30d0\u30fc\u30b9\u30ad\u30fc\u30de\u306b 1 \u3064\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb %s \u304c\u30b9\u30ad\u30fc\u30de\u30c7\u30a3\u30ec\u30af\u30c8\u30ea %s \u307e\u305f\u306f %s \u306b\u5b58\u5728\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=\u30b5\u30fc\u30d0\u30fc\u30b9\u30ad\u30fc\u30de\u306b 1 \u3064\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3002\u6307\u5b9a\u3055\u308c\u305f\u30b9\u30ad\u30fc\u30de\u30d5\u30a1\u30a4\u30eb %s \u304c\u30b9\u30ad\u30fc\u30de\u30c7\u30a3\u30ec\u30af\u30c8\u30ea %s \u306b\u5b58\u5728\u3057\u307e\u305b\u3093 |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=\u30b5\u30fc\u30d0\u30fc\u30b9\u30ad\u30fc\u30de\u306b 1 \u3064\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb %s \u304c\u30b9\u30ad\u30fc\u30de\u30c7\u30a3\u30ec\u30af\u30c8\u30ea %s \u306b\u5b58\u5728\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_LOADING_SCHEMA_FILE_8=\u30b9\u30ad\u30fc\u30de\u30d5\u30a1\u30a4\u30eb %s \u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30b5\u30fc\u30d0\u30fc\u30b9\u30ad\u30fc\u30de\u306b\u30ed\u30fc\u30c9\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_CANNOT_LOCK_SCHEMA_9=\u30b5\u30fc\u30d0\u30fc\u30b9\u30ad\u30fc\u30de\u306b 1 \u3064\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3002\u30b5\u30fc\u30d0\u30fc\u306f\u8907\u6570\u56de\u8a66\u884c\u3057\u305f\u3042\u3068\u3001\u30b9\u30ad\u30fc\u30de\u30a8\u30f3\u30c8\u30ea %s \u306e\u66f8\u304d\u8fbc\u307f\u30ed\u30c3\u30af\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_INSUFFICIENT_PRIVILEGES_10=\u30b5\u30fc\u30d0\u30fc\u30b9\u30ad\u30fc\u30de\u3092\u5909\u66f4\u3059\u308b\u305f\u3081\u306e\u5341\u5206\u306a\u7279\u6a29\u304c\u3042\u308a\u307e\u305b\u3093 |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | INFO_TASK_SHUTDOWN_DEFAULT_MESSAGE_3=\ub514\ub809\ud1a0\ub9ac \uc11c\ubc84 \uc885\ub8cc \ud504\ub85c\uc138\uc2a4\uac00 %s \uc791\uc5c5\uc73c\ub85c \uc2dc\uc791\ub418\uc5c8\uc2b5\ub2c8\ub2e4. |
| | | INFO_TASK_SHUTDOWN_CUSTOM_MESSAGE_4=\ub514\ub809\ud1a0\ub9ac \uc11c\ubc84 \uc885\ub8cc \ud504\ub85c\uc138\uc2a4\uac00 %s \uc791\uc5c5\uc73c\ub85c \uc2dc\uc791\ub418\uc5c8\uc2b5\ub2c8\ub2e4: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_FILENAME_5=\uc791\uc5c5 \ud56d\ubaa9 %2$s\uc758 \uc18d\uc131 %1$s\uc5d0 \uc2a4\ud0a4\ub9c8 \ud30c\uc77c \uc774\ub984\uc744 \uc81c\uacf5\ud558\uc9c0 \uc54a\uc558\uae30 \ub54c\ubb38\uc5d0 \uc11c\ubc84 \uc2a4\ud0a4\ub9c8\uc5d0 \ud558\ub098 \uc774\uc0c1\uc758 \ud30c\uc77c\uc744 \ucd94\uac00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=Unable to add one or more files to the server schema because the specified schema file %s does not exist in schema directories %s or %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=Unable to add one or more files to the server schema because an error occurred while attempting to determine whether file %s exists in schema directory %s or %s: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=\uc9c0\uc815\ud55c \uc2a4\ud0a4\ub9c8 \ud30c\uc77c %s\uc774(\uac00) \uc2a4\ud0a4\ub9c8 \ub514\ub809\ud1a0\ub9ac %s\uc5d0 \uc5c6\uae30 \ub54c\ubb38\uc5d0 \uc11c\ubc84 \uc2a4\ud0a4\ub9c8\uc5d0 \ud558\ub098 \uc774\uc0c1\uc758 \ud30c\uc77c\uc744 \ucd94\uac00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=%s \ud30c\uc77c\uc774 \uc2a4\ud0a4\ub9c8 \ub514\ub809\ud1a0\ub9ac %s\uc5d0 \uc788\ub294\uc9c0 \ud655\uc778\ud558\ub294 \ub3d9\uc548 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uae30 \ub54c\ubb38\uc5d0 \uc11c\ubc84 \uc2a4\ud0a4\ub9c8\uc5d0 \ud558\ub098 \uc774\uc0c1\uc758 \ud30c\uc77c\uc744 \ucd94\uac00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_LOADING_SCHEMA_FILE_8=\uc2a4\ud0a4\ub9c8 \ud30c\uc77c %s\uc758 \ub0b4\uc6a9\uc744 \uc11c\ubc84 \uc2a4\ud0a4\ub9c8\uc5d0 \ub85c\ub4dc\ud558\ub294 \ub3d9\uc548 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_CANNOT_LOCK_SCHEMA_9=\uc11c\ubc84\uac00 \uc5ec\ub7ec \ubc88 \uc2dc\ub3c4\ud588\uc9c0\ub9cc \uc2a4\ud0a4\ub9c8 \ud56d\ubaa9 %s\uc5d0 \ub300\ud55c \uc4f0\uae30 \uc7a0\uae08\uc744 \uac00\uc838\uc624\uc9c0 \ubabb\ud588\uae30 \ub54c\ubb38\uc5d0 \uc11c\ubc84 \uc2a4\ud0a4\ub9c8\uc5d0 \ud558\ub098 \uc774\uc0c1\uc758 \ud30c\uc77c\uc744 \ucd94\uac00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_INSUFFICIENT_PRIVILEGES_10=\uc11c\ubc84 \uc2a4\ud0a4\ub9c8\ub97c \uc218\uc815\ud560 \uc218 \uc788\ub294 \ucda9\ubd84\ud55c \uad8c\ud55c\uc774 \uc5c6\uc2b5\ub2c8\ub2e4. |
| | |
| | | # CDDL HEADER END |
| | | # |
| | | # Copyright 2006-2009 Sun Microsystems, Inc. |
| | | # Portions Copyright 2013 ForgeRock AS. |
| | | |
| | | |
| | | |
| | |
| | | INFO_TASK_SHUTDOWN_DEFAULT_MESSAGE_3=\u4efb\u52a1 %s \u5df2\u542f\u52a8\u76ee\u5f55\u670d\u52a1\u5668\u5173\u95ed\u8fdb\u7a0b |
| | | INFO_TASK_SHUTDOWN_CUSTOM_MESSAGE_4=\u4efb\u52a1 %s \u5df2\u542f\u52a8\u76ee\u5f55\u670d\u52a1\u5668\u5173\u95ed\u8fdb\u7a0b: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_FILENAME_5=\u65e0\u6cd5\u5c06\u4e00\u4e2a\u6216\u591a\u4e2a\u6587\u4ef6\u6dfb\u52a0\u5230\u670d\u52a1\u5668\u6a21\u5f0f\uff0c\u56e0\u4e3a\u4efb\u52a1\u6761\u76ee %2$s \u7684\u5c5e\u6027 %1$s \u4e2d\u6ca1\u6709\u63d0\u4f9b\u4efb\u4f55\u6a21\u5f0f\u6587\u4ef6\u540d |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=\u65e0\u6cd5\u5c06\u4e00\u4e2a\u6216\u591a\u4e2a\u6587\u4ef6\u6dfb\u52a0\u5230\u670d\u52a1\u5668\u6a21\u5f0f\uff0c\u56e0\u4e3a\u6a21\u5f0f\u76ee\u5f55 %2$s \u6216 %3$s \u4e2d\u4e0d\u5b58\u5728\u6307\u5b9a\u7684\u6a21\u5f0f\u6587\u4ef6 %1$s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=\u65e0\u6cd5\u5c06\u4e00\u4e2a\u6216\u591a\u4e2a\u6587\u4ef6\u6dfb\u52a0\u5230\u670d\u52a1\u5668\u6a21\u5f0f\uff0c\u56e0\u4e3a\u5c1d\u8bd5\u786e\u5b9a\u6a21\u5f0f\u76ee\u5f55 %2$s \u6216 %3$s \u4e2d\u662f\u5426\u5b58\u5728\u6587\u4ef6 %1$s \u65f6\u51fa\u73b0\u9519\u8bef: %4$s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=\u65e0\u6cd5\u5c06\u4e00\u4e2a\u6216\u591a\u4e2a\u6587\u4ef6\u6dfb\u52a0\u5230\u670d\u52a1\u5668\u6a21\u5f0f\uff0c\u56e0\u4e3a\u6a21\u5f0f\u76ee\u5f55 %2$s \u4e2d\u4e0d\u5b58\u5728\u6307\u5b9a\u7684\u6a21\u5f0f\u6587\u4ef6 %1$s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=\u65e0\u6cd5\u5c06\u4e00\u4e2a\u6216\u591a\u4e2a\u6587\u4ef6\u6dfb\u52a0\u5230\u670d\u52a1\u5668\u6a21\u5f0f\uff0c\u56e0\u4e3a\u5c1d\u8bd5\u786e\u5b9a\u6a21\u5f0f\u76ee\u5f55 %2$s \u4e2d\u662f\u5426\u5b58\u5728\u6587\u4ef6 %1$s \u65f6\u51fa\u73b0\u9519\u8bef: %4$s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_LOADING_SCHEMA_FILE_8=\u5c1d\u8bd5\u5c06\u6a21\u5f0f\u6587\u4ef6 %s \u7684\u5185\u5bb9\u88c5\u5165\u670d\u52a1\u5668\u6a21\u5f0f\u4e2d\u65f6\u51fa\u73b0\u9519\u8bef: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_CANNOT_LOCK_SCHEMA_9=\u65e0\u6cd5\u5c06\u4e00\u4e2a\u6216\u591a\u4e2a\u6587\u4ef6\u6dfb\u52a0\u5230\u670d\u52a1\u5668\u6a21\u5f0f\uff0c\u56e0\u4e3a\u670d\u52a1\u5668\u5728\u591a\u6b21\u5c1d\u8bd5\u540e\u65e0\u6cd5\u83b7\u5f97\u6a21\u5f0f\u6761\u76ee %s \u4e0a\u7684\u5199\u5165\u9501\u5b9a |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_INSUFFICIENT_PRIVILEGES_10=\u60a8\u6ca1\u6709\u8db3\u591f\u7684\u6743\u9650\u4fee\u6539\u670d\u52a1\u5668\u6a21\u5f0f |
| | |
| | | INFO_TASK_SHUTDOWN_DEFAULT_MESSAGE_3=\u76ee\u9304\u4f3a\u670d\u5668\u95dc\u6a5f\u7a0b\u5e8f\u5df2\u7531\u4f5c\u696d %s \u555f\u52d5 |
| | | INFO_TASK_SHUTDOWN_CUSTOM_MESSAGE_4=\u76ee\u9304\u4f3a\u670d\u5668\u95dc\u6a5f\u7a0b\u5e8f\u5df2\u7531\u4f5c\u696d %s \u555f\u52d5: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_FILENAME_5=\u7121\u6cd5\u589e\u52a0\u4e00\u6216\u591a\u500b\u6a94\u6848\u81f3\u4f3a\u670d\u5668\u6a21\u5f0f\uff0c\u56e0\u70ba\u672a\u5728\u4f5c\u696d\u9805\u76ee %2$s \u7684\u5c6c\u6027 %1$s \u4e2d\u63d0\u4f9b\u6a21\u5f0f\u6a94\u6848\u540d\u7a31 |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=Unable to add one or more files to the server schema because the specified schema file %s does not exist in schema directories %s or %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=Unable to add one or more files to the server schema because an error occurred while attempting to determine whether file %s exists in schema directory %s or %s: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE_6=\u7121\u6cd5\u589e\u52a0\u4e00\u6216\u591a\u500b\u6a94\u6848\u81f3\u4f3a\u670d\u5668\u6a21\u5f0f\uff0c\u56e0\u70ba\u6307\u5b9a\u7684\u6a21\u5f0f\u6a94\u6848 %s \u4e0d\u5b58\u5728\u65bc\u6a21\u5f0f\u76ee\u9304 %s \u4e2d |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE_7=\u7121\u6cd5\u589e\u52a0\u4e00\u6216\u591a\u500b\u6a94\u6848\u81f3\u4f3a\u670d\u5668\u6a21\u5f0f\uff0c\u56e0\u70ba\u5728\u5617\u8a66\u5224\u5b9a\u6a94\u6848 %s \u662f\u5426\u5b58\u5728\u65bc\u6a21\u5f0f\u76ee\u9304 %s \u4e2d\u6642\u767c\u751f\u932f\u8aa4: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_ERROR_LOADING_SCHEMA_FILE_8=\u5617\u8a66\u5c07\u6a21\u5f0f\u6a94\u6848 %s \u7684\u5167\u5bb9\u8f09\u5165\u81f3\u4f3a\u670d\u5668\u6a21\u5f0f\u4e2d\u6642\u767c\u751f\u932f\u8aa4: %s |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_CANNOT_LOCK_SCHEMA_9=\u7121\u6cd5\u589e\u52a0\u4e00\u6216\u591a\u500b\u6a94\u6848\u81f3\u4f3a\u670d\u5668\u6a21\u5f0f\uff0c\u56e0\u70ba\u4f3a\u670d\u5668\u5728\u591a\u6b21\u5617\u8a66\u5f8c\uff0c\u4ecd\u7121\u6cd5\u53d6\u5f97\u6a21\u5f0f\u9805\u76ee %s \u7684\u5beb\u5165\u9396\u5b9a |
| | | SEVERE_ERR_TASK_ADDSCHEMAFILE_INSUFFICIENT_PRIVILEGES_10=\u60a8\u6c92\u6709\u8db3\u5920\u7684\u6b0a\u9650\u53ef\u4ee5\u4fee\u6539\u4f3a\u670d\u5668\u6a21\u5f0f |
| | |
| | | hmJavaArguments.put(origJavaArguments, transformedArguments); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | // Already checked if supported. |
| | | } |
| | | // else, support is already checked. |
| | | } |
| | | |
| | | Properties fileProperties = getJavaPropertiesFileContents( |
| | |
| | | String libDir = Utils.getPath(Utils |
| | | .getInstancePathFromInstallPath(installPath), |
| | | Installation.LIBRARIES_PATH_RELATIVE); |
| | | // Create directory if it doesn't exist yet |
| | | File fLib = new File(libDir); |
| | | if (! fLib.exists()) |
| | | { |
| | | fLib.mkdir(); |
| | | } |
| | | if (Utils.isWindows()) |
| | | { |
| | | destinationFile = Utils.getPath(libDir, |
| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011-2012 ForgeRock AS |
| | | * Portions Copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | package org.opends.server.backends; |
| | | |
| | |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.HashSet; |
| | | import java.util.Iterator; |
| | | import java.util.LinkedHashMap; |
| | | import java.util.LinkedHashSet; |
| | | import java.util.LinkedList; |
| | |
| | | // Register each of the suffixes with the Directory Server. Also, register |
| | | // the first one as the schema base. |
| | | DirectoryServer.setSchemaDN(baseDNs[0]); |
| | | for (int i=0; i < baseDNs.length; i++) |
| | | { |
| | | try |
| | | { |
| | | DirectoryServer.registerBaseDN(baseDNs[i], this, true); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | for (DN baseDN : baseDNs) { |
| | | try { |
| | | DirectoryServer.registerBaseDN(baseDN, this, true); |
| | | } catch (Exception e) { |
| | | if (debugEnabled()) { |
| | | TRACER.debugCaught(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | Message message = ERR_BACKEND_CANNOT_REGISTER_BASEDN.get( |
| | | baseDNs[i].toString(), getExceptionMessage(e)); |
| | | baseDN.toString(), getExceptionMessage(e)); |
| | | throw new InitializationException(message, e); |
| | | } |
| | | } |
| | |
| | | mods); |
| | | if (! mods.isEmpty()) |
| | | { |
| | | // TODO : Raise an alert notification. |
| | | |
| | | DirectoryServer.setOfflineSchemaChanges(mods); |
| | | |
| | | // Write a new concatenated schema file with the most recent information |
| | |
| | | private boolean isSchemaConfigAttribute(Attribute attribute) |
| | | { |
| | | AttributeType attrType = attribute.getAttributeType(); |
| | | if (attrType.hasName(ATTR_SCHEMA_ENTRY_DN.toLowerCase()) || |
| | | return attrType.hasName(ATTR_SCHEMA_ENTRY_DN.toLowerCase()) || |
| | | attrType.hasName(ATTR_BACKEND_ENABLED.toLowerCase()) || |
| | | attrType.hasName(ATTR_BACKEND_CLASS.toLowerCase()) || |
| | | attrType.hasName(ATTR_BACKEND_ID.toLowerCase()) || |
| | |
| | | attrType.hasName(OP_ATTR_CREATORS_NAME_LC) || |
| | | attrType.hasName(OP_ATTR_CREATE_TIMESTAMP_LC) || |
| | | attrType.hasName(OP_ATTR_MODIFIERS_NAME_LC) || |
| | | attrType.hasName(OP_ATTR_MODIFY_TIMESTAMP_LC)) |
| | | { |
| | | return true; |
| | | } |
| | | attrType.hasName(OP_ATTR_MODIFY_TIMESTAMP_LC); |
| | | |
| | | return false; |
| | | } |
| | | |
| | | |
| | |
| | | TreeSet<String> modifiedSchemaFiles = new TreeSet<String>(); |
| | | |
| | | int pos = -1; |
| | | Iterator<Modification> iterator = mods.iterator(); |
| | | while (iterator.hasNext()) |
| | | for (Modification m : mods) |
| | | { |
| | | Modification m = iterator.next(); |
| | | pos++; |
| | | |
| | | // Determine the type of modification to perform. We will support add and |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_ATTRTYPE.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | addAttributeType(type, newSchema, modifiedSchemaFiles); |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_OBJECTCLASS. |
| | | get(v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | addObjectClass(oc, newSchema, modifiedSchemaFiles); |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_NAME_FORM.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | addNameForm(nf, newSchema, modifiedSchemaFiles); |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_DCR.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | addDITContentRule(dcr, newSchema, modifiedSchemaFiles); |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_DSR.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | addDITStructureRule(dsr, newSchema, modifiedSchemaFiles); |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_MR_USE.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | addMatchingRuleUse(mru, newSchema, modifiedSchemaFiles); |
| | |
| | | { |
| | | for(AttributeValue v : a) |
| | | { |
| | | LDAPSyntaxDescription lsd = null; |
| | | LDAPSyntaxDescription lsd; |
| | | try |
| | | { |
| | | lsd = LDAPSyntaxDescriptionSyntax.decodeLDAPSyntax( |
| | | v.getValue(), |
| | | newSchema, false); |
| | | v.getValue(), newSchema, false); |
| | | } |
| | | catch(DirectoryException de) |
| | | { |
| | |
| | | ERR_SCHEMA_MODIFY_CANNOT_DECODE_LDAP_SYNTAX.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | addLdapSyntaxDescription(lsd,newSchema,modifiedSchemaFiles); |
| | | } |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_ATTRTYPE.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | removeAttributeType(type, newSchema, mods, pos, |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_OBJECTCLASS. |
| | | get(v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | removeObjectClass(oc, newSchema, mods, pos, modifiedSchemaFiles); |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_NAME_FORM.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | removeNameForm(nf, newSchema, mods, pos, modifiedSchemaFiles); |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_DCR.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | removeDITContentRule(dcr, newSchema, mods, pos, |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_DSR.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | removeDITStructureRule(dsr, newSchema, mods, pos, |
| | |
| | | Message message = ERR_SCHEMA_MODIFY_CANNOT_DECODE_MR_USE.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | |
| | | removeMatchingRuleUse(mru, newSchema, mods, pos, |
| | |
| | | { |
| | | for(AttributeValue v : a) |
| | | { |
| | | LDAPSyntaxDescription lsd = null; |
| | | LDAPSyntaxDescription lsd; |
| | | try |
| | | { |
| | | lsd = LDAPSyntaxDescriptionSyntax.decodeLDAPSyntax( |
| | | v.getValue(), |
| | | newSchema, false); |
| | | v.getValue(), newSchema, false); |
| | | } |
| | | catch(DirectoryException de) |
| | | { |
| | |
| | | ERR_SCHEMA_MODIFY_CANNOT_DECODE_LDAP_SYNTAX.get( |
| | | v.getValue().toString(), de.getMessageObject()); |
| | | throw new DirectoryException( |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, |
| | | de); |
| | | ResultCode.INVALID_ATTRIBUTE_SYNTAX, message, de); |
| | | } |
| | | removeLdapSyntaxDescription(lsd,newSchema,modifiedSchemaFiles); |
| | | } |
| | |
| | | ArrayList<File> tempFileList = new ArrayList<File>(); |
| | | ArrayList<File> origFileList = new ArrayList<File>(); |
| | | |
| | | File schemaInstallDir = |
| | | new File(SchemaConfigManager.getSchemaDirectoryPath(false)); |
| | | File schemaInstanceDir = |
| | | new File(SchemaConfigManager.getSchemaDirectoryPath(true)); |
| | | new File(SchemaConfigManager.getSchemaDirectoryPath()); |
| | | |
| | | for (String name : tempSchemaFiles.keySet()) |
| | | { |
| | | File installFile = new File(schemaInstallDir, name); |
| | | if (installFile.exists()) |
| | | { |
| | | installedFileList.add(installFile); |
| | | } else |
| | | { |
| | | installedFileList.add(new File(schemaInstanceDir, name)); |
| | | } |
| | | tempFileList.add(tempSchemaFiles.get(name)); |
| | | origFileList.add(new File(schemaInstanceDir, name + ".orig")); |
| | | } |
| | |
| | | { |
| | | // Don't import the file containing the definitions of the |
| | | // Schema elements used for configuration because these |
| | | // definitions may vary between versions of OpenDS. |
| | | // definitions may vary between versions of OpenDJ. |
| | | continue; |
| | | } |
| | | |
| | |
| | | { |
| | | // Don't import the file containing the definitions of the |
| | | // Schema elements used for configuration because these |
| | | // definitions may vary between versions of OpenDS. |
| | | // definitions may vary between versions of OpenDJ. |
| | | // Also never delete anything from the core schema file. |
| | | continue; |
| | | } |
| | |
| | | { |
| | | // Don't import the file containing the definitions of the |
| | | // Schema elements used for configuration because these |
| | | // definitions may vary between versions of OpenDS. |
| | | // definitions may vary between versions of OpenDJ. |
| | | continue; |
| | | } |
| | | |
| | |
| | | { |
| | | // Don't import the file containing the definition of the |
| | | // Schema elements used for configuration because these |
| | | // definitions may vary between versions of OpenDS. |
| | | // definitions may vary between versions of OpenDJ. |
| | | continue; |
| | | } |
| | | if (!oidList.contains(removeClass.getOID())) |
| | |
| | | // Get the path to the directory in which the schema files reside and |
| | | // then get a list of all the files in that directory. |
| | | String schemaInstanceDirPath = |
| | | SchemaConfigManager.getSchemaDirectoryPath(true); |
| | | SchemaConfigManager.getSchemaDirectoryPath(); |
| | | File schemaDir; |
| | | File[] schemaFiles = null; |
| | | |
| | |
| | | // move the current schema directory out of the way so we can keep it around |
| | | // to restore if a problem occurs. |
| | | String schemaInstanceDirPath = |
| | | SchemaConfigManager.getSchemaDirectoryPath(true); |
| | | SchemaConfigManager.getSchemaDirectoryPath(); |
| | | |
| | | File schemaInstanceDir = new File(schemaInstanceDirPath); |
| | | |
| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011-2012 ForgeRock AS |
| | | * Portions Copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | package org.opends.server.core; |
| | | import org.opends.messages.Message; |
| | |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.schema.LDAPSyntaxDescriptionSyntax; |
| | | import org.opends.server.types.LDAPSyntaxDescription; |
| | | import org.opends.server.util.StaticUtils; |
| | | |
| | | import static org.opends.messages.ConfigMessages.*; |
| | | import static org.opends.server.schema.SchemaConstants.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | |
| | | /** |
| | | * Retrieves the path to the directory containing the server schema files. |
| | | * |
| | | * @param userSchema indicates if we need to retrieve user schema or |
| | | * "unmodified" schema. |
| | | * |
| | | * @return The path to the directory containing the server schema files. |
| | | */ |
| | | public static String getSchemaDirectoryPath(boolean userSchema) |
| | | public static String getSchemaDirectoryPath() |
| | | { |
| | | File schemaDir = |
| | | DirectoryServer.getEnvironmentConfig(). |
| | | getSchemaDirectory(userSchema); |
| | | getSchemaDirectory(); |
| | | if (schemaDir != null) { |
| | | return schemaDir.getAbsolutePath(); |
| | | } else { |
| | |
| | | @Override |
| | | public boolean accept(File directory, String filename) |
| | | { |
| | | if (filename.endsWith(".ldif")) |
| | | { |
| | | return true; |
| | | } |
| | | return false; |
| | | return filename.endsWith(".ldif"); |
| | | } |
| | | } |
| | | |
| | |
| | | // Construct the path to the directory that should contain the schema files |
| | | // and make sure that it exists and is a directory. Get a list of the files |
| | | // in that directory sorted in alphabetic order. |
| | | String schemaInstallDirPath = getSchemaDirectoryPath(false); |
| | | String schemaInstanceDirPath = getSchemaDirectoryPath(true); |
| | | File schemaInstallDir = new File(schemaInstallDirPath); |
| | | String schemaInstanceDirPath = getSchemaDirectoryPath(); |
| | | File schemaInstanceDir = null; |
| | | |
| | | try |
| | |
| | | if (schemaInstanceDirPath != null) |
| | | { |
| | | schemaInstanceDir = new File(schemaInstanceDirPath); |
| | | if (schemaInstallDir.getCanonicalPath().equals( |
| | | schemaInstanceDir.getCanonicalPath())) |
| | | { |
| | | schemaInstanceDir = null; |
| | | } |
| | | } |
| | | } catch (Exception e) |
| | | { |
| | |
| | | |
| | | try |
| | | { |
| | | if (schemaInstallDir == null || ! schemaInstallDir.exists()) |
| | | if (schemaInstanceDir == null || ! schemaInstanceDir.exists()) |
| | | { |
| | | Message message = |
| | | ERR_CONFIG_SCHEMA_NO_SCHEMA_DIR.get(schemaInstallDirPath); |
| | | ERR_CONFIG_SCHEMA_NO_SCHEMA_DIR.get(schemaInstanceDirPath); |
| | | throw new InitializationException(message); |
| | | } |
| | | if (! schemaInstallDir.isDirectory()) |
| | | if (! schemaInstanceDir.isDirectory()) |
| | | { |
| | | Message message = |
| | | ERR_CONFIG_SCHEMA_DIR_NOT_DIRECTORY.get(schemaInstallDirPath); |
| | | ERR_CONFIG_SCHEMA_DIR_NOT_DIRECTORY.get(schemaInstanceDirPath); |
| | | throw new InitializationException(message); |
| | | } |
| | | |
| | | if ((schemaInstanceDir == null) || (!schemaInstanceDir.exists()) |
| | | || (! schemaInstanceDir.isDirectory())) |
| | | { |
| | | schemaInstanceDir = null; |
| | | } |
| | | |
| | | FilenameFilter filter = new SchemaFileFilter(); |
| | | File[] schemaInstallDirFiles = |
| | | schemaInstallDir.listFiles(filter); |
| | | int fileNumber = schemaInstallDirFiles.length; |
| | | File[] schemaInstanceDirFiles = null ; |
| | | if (schemaInstanceDir != null) |
| | | { |
| | | schemaInstanceDirFiles = |
| | | File[] schemaInstanceDirFiles = |
| | | schemaInstanceDir.listFiles(filter); |
| | | fileNumber =+ schemaInstanceDirFiles.length ; |
| | | } |
| | | |
| | | int fileNumber = schemaInstanceDirFiles.length ; |
| | | ArrayList<String> fileList = new ArrayList<String>(fileNumber); |
| | | for (File f : schemaInstallDirFiles) |
| | | |
| | | for (File f : schemaInstanceDirFiles) |
| | | { |
| | | if (f.isFile()) |
| | | { |
| | |
| | | youngestModificationTime = modificationTime; |
| | | } |
| | | } |
| | | if (schemaInstanceDirFiles != null) |
| | | { |
| | | for (File f : schemaInstanceDirFiles) |
| | | { |
| | | if (f.isFile()) |
| | | { |
| | | fileList.add(f.getName()); |
| | | } |
| | | |
| | | long modificationTime = f.lastModified(); |
| | | if ((oldestModificationTime <= 0L) |
| | | || (modificationTime < oldestModificationTime)) |
| | | { |
| | | oldestModificationTime = modificationTime; |
| | | } |
| | | |
| | | if ((youngestModificationTime <= 0) |
| | | || (modificationTime > youngestModificationTime)) |
| | | { |
| | | youngestModificationTime = modificationTime; |
| | | } |
| | | } |
| | | } |
| | | |
| | | fileNames = new String[fileList.size()]; |
| | | fileList.toArray(fileNames); |
| | |
| | | } |
| | | |
| | | Message message = ERR_CONFIG_SCHEMA_CANNOT_LIST_FILES.get( |
| | | schemaInstallDirPath, schemaInstanceDirPath, getExceptionMessage(e)); |
| | | schemaInstanceDirPath, getExceptionMessage(e)); |
| | | throw new InitializationException(message, e); |
| | | } |
| | | |
| | |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // Create an LDIF reader to use when reading the files. |
| | | String schemaDirPath = null; |
| | | |
| | | schemaDirPath = getSchemaDirectoryPath(true); |
| | | String schemaDirPath = getSchemaDirectoryPath(); |
| | | File f = new File(schemaDirPath, schemaFile); |
| | | if (!f.exists()) |
| | | { |
| | | schemaDirPath = getSchemaDirectoryPath(false); |
| | | f = new File(schemaDirPath, schemaFile); |
| | | } |
| | | LDIFReader reader; |
| | | try |
| | | { |
| | |
| | | else |
| | | { |
| | | logError(message); |
| | | StaticUtils.close(reader); |
| | | return null; |
| | | } |
| | | } |
| | |
| | | logError(message); |
| | | } |
| | | |
| | | try |
| | | { |
| | | reader.close(); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | TRACER.debugCaught(DebugLogLevel.ERROR, e); |
| | | } |
| | | } |
| | | |
| | | StaticUtils.close(reader); |
| | | |
| | | // Get the attributeTypes attribute from the entry. |
| | | LinkedList<Modification> mods = new LinkedList<Modification>(); |
| | |
| | | { |
| | | for (AttributeValue v : a) |
| | | { |
| | | LDAPSyntaxDescription syntaxDescription = null; |
| | | LDAPSyntaxDescription syntaxDescription; |
| | | try |
| | | { |
| | | syntaxDescription = LDAPSyntaxDescriptionSyntax.decodeLDAPSyntax( |
| | |
| | | public static boolean isSchemaAttribute(Attribute attribute) |
| | | { |
| | | String attributeOid = attribute.getAttributeType().getOID(); |
| | | if (attributeOid.equals("2.5.21.1") || |
| | | return attributeOid.equals("2.5.21.1") || |
| | | attributeOid.equals("2.5.21.2") || |
| | | attributeOid.equals("2.5.21.4") || |
| | | attributeOid.equals("2.5.21.5") || |
| | |
| | | attributeOid.equals("nameformdescription-oid") || |
| | | attributeOid.equals("ditcontentrules-oid") || |
| | | attributeOid.equals("ditstructurerules-oid") || |
| | | attributeOid.equals("ldapsyntaxes-oid") |
| | | |
| | | ) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | return false; |
| | | } |
| | | attributeOid.equals("ldapsyntaxes-oid"); |
| | | } |
| | | } |
| | | |
| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.tasks; |
| | | |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | | import java.io.File; |
| | | import java.util.LinkedList; |
| | | import java.util.List; |
| | |
| | | |
| | | // Get the name(s) of the schema files to add and make sure they exist in |
| | | // the schema directory. |
| | | String schemaInstallDirectory = |
| | | SchemaConfigManager.getSchemaDirectoryPath(false); |
| | | String schemaInstanceDirectory = |
| | | SchemaConfigManager.getSchemaDirectoryPath(true); |
| | | SchemaConfigManager.getSchemaDirectoryPath(); |
| | | filesToAdd = new TreeSet<String>(); |
| | | for (Attribute a : attrList) |
| | | { |
| | |
| | | |
| | | try |
| | | { |
| | | File schemaFile = new File(schemaInstallDirectory, filename); |
| | | if ((! schemaFile.exists()) || |
| | | (! schemaFile.getParent().equals(schemaInstallDirectory))) |
| | | { |
| | | // try in the instance |
| | | schemaFile = new File(schemaInstanceDirectory, filename); |
| | | File schemaFile = new File(schemaInstanceDirectory, filename); |
| | | if (! schemaFile.exists()) |
| | | { |
| | | Message message = ERR_TASK_ADDSCHEMAFILE_NO_SUCH_FILE.get( |
| | | filename, schemaInstallDirectory, schemaInstanceDirectory); |
| | | filename, schemaInstanceDirectory); |
| | | throw new DirectoryException(ResultCode.CONSTRAINT_VIOLATION, |
| | | message); |
| | | } |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | if (debugEnabled()) |
| | |
| | | } |
| | | |
| | | Message message = ERR_TASK_ADDSCHEMAFILE_ERROR_CHECKING_FOR_FILE.get( |
| | | filename, schemaInstallDirectory, schemaInstanceDirectory, |
| | | filename, schemaInstanceDirectory, |
| | | getExceptionMessage(e)); |
| | | throw new DirectoryException(ResultCode.CONSTRAINT_VIOLATION, |
| | | message, e); |
| | |
| | | for (AttributeValue v : a) |
| | | { |
| | | String s = v.getValue().toString(); |
| | | if (s.indexOf(SCHEMA_PROPERTY_FILENAME) < 0) |
| | | if (!s.contains(SCHEMA_PROPERTY_FILENAME)) |
| | | { |
| | | if (s.endsWith(" )")) |
| | | { |
| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.types; |
| | | |
| | |
| | | { |
| | | String useLastKnownGoodStr = |
| | | getProperty(PROPERTY_USE_LAST_KNOWN_GOOD_CONFIG); |
| | | if (useLastKnownGoodStr == null) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | return useLastKnownGoodStr.equalsIgnoreCase("true"); |
| | | return useLastKnownGoodStr != null && |
| | | useLastKnownGoodStr.equalsIgnoreCase("true"); |
| | | } |
| | | |
| | | |
| | |
| | | String oldUseLastKnownGoodStr = |
| | | setProperty(PROPERTY_USE_LAST_KNOWN_GOOD_CONFIG, |
| | | String.valueOf(useLastKnownGoodConfiguration)); |
| | | if (oldUseLastKnownGoodStr == null) |
| | | { |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | return oldUseLastKnownGoodStr.equalsIgnoreCase("true"); |
| | | } |
| | | return oldUseLastKnownGoodStr != null && |
| | | oldUseLastKnownGoodStr.equalsIgnoreCase("true"); |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | String maintainArchiveStr = |
| | | getProperty(PROPERTY_MAINTAIN_CONFIG_ARCHIVE); |
| | | if (maintainArchiveStr == null) |
| | | { |
| | | return true; |
| | | } |
| | | |
| | | return (! maintainArchiveStr.equalsIgnoreCase("false")); |
| | | return maintainArchiveStr == null || |
| | | (!maintainArchiveStr.equalsIgnoreCase("false")); |
| | | } |
| | | |
| | | |
| | |
| | | String oldMaintainStr = |
| | | setProperty(PROPERTY_MAINTAIN_CONFIG_ARCHIVE, |
| | | String.valueOf(maintainConfigArchive)); |
| | | if (oldMaintainStr == null) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | return (! oldMaintainStr.equalsIgnoreCase("false")); |
| | | } |
| | | return oldMaintainStr == null || |
| | | (!oldMaintainStr.equalsIgnoreCase("false")); |
| | | } |
| | | |
| | | |
| | |
| | | * directory of "config/schema" exists below the server root, then |
| | | * that will be returned. |
| | | * |
| | | * @param userSchema indicates if we need to retrieve user schema or |
| | | * "unmodified" schema. |
| | | * |
| | | * @return The directory that contains the server schema |
| | | * configuration files, or {@code null} if none is defined. |
| | | */ |
| | | public File getSchemaDirectory(boolean userSchema) |
| | | public File getSchemaDirectory() |
| | | { |
| | | String schemaDirectoryPath = |
| | | getProperty(PROPERTY_SCHEMA_DIRECTORY); |
| | |
| | | File serverRoot = getServerRoot(); |
| | | if (serverRoot != null) |
| | | { |
| | | String schemaPath = null ; |
| | | if (userSchema) |
| | | { |
| | | File instanceRoot = |
| | | getInstanceRootFromServerRoot(serverRoot); |
| | | schemaPath = instanceRoot.getAbsolutePath(); |
| | | } |
| | | else |
| | | { |
| | | schemaPath = serverRoot.getAbsolutePath(); |
| | | } |
| | | File schemaDir = new File(schemaPath |
| | | File schemaDir = new File(instanceRoot.getAbsolutePath() |
| | | + File.separator + PATH_SCHEMA_DIR); |
| | | if (schemaDir.exists() && schemaDir.isDirectory()) |
| | | { |
| | | return schemaDir; |
| | | } |
| | | } |
| | | |
| | | return null; |
| | | } |
| | | else |
| | |
| | | { |
| | | String disableStr = |
| | | getProperty(PROPERTY_DISABLE_CONNECTION_HANDLERS); |
| | | if (disableStr == null) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | return disableStr.equalsIgnoreCase("true"); |
| | | return disableStr != null && disableStr.equalsIgnoreCase("true"); |
| | | } |
| | | |
| | | /** |
| | |
| | | { |
| | | String disableStr = |
| | | getProperty(PROPERTY_DISABLE_SYNCHRONIZATION); |
| | | if (disableStr == null) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | return disableStr.equalsIgnoreCase("true"); |
| | | return disableStr != null && disableStr.equalsIgnoreCase("true"); |
| | | } |
| | | |
| | | /** |
| | |
| | | { |
| | | String disableStr = |
| | | getProperty(PROPERTY_DISABLE_ADMIN_DATA_SYNCHRONIZATION); |
| | | if (disableStr == null) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | return disableStr.equalsIgnoreCase("true"); |
| | | return disableStr != null && disableStr.equalsIgnoreCase("true"); |
| | | } |
| | | |
| | | /** |
| | |
| | | String oldDisableStr = |
| | | setProperty(PROPERTY_DISABLE_CONNECTION_HANDLERS, |
| | | String.valueOf(disableConnectionHandlers)); |
| | | if (oldDisableStr == null) |
| | | { |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | return oldDisableStr.equalsIgnoreCase("true"); |
| | | } |
| | | return oldDisableStr != null && oldDisableStr.equalsIgnoreCase("true"); |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | String forceDaemonStr = |
| | | getProperty(PROPERTY_FORCE_DAEMON_THREADS); |
| | | if (forceDaemonStr == null) |
| | | { |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | return forceDaemonStr.equalsIgnoreCase("true"); |
| | | } |
| | | return forceDaemonStr != null && forceDaemonStr.equalsIgnoreCase("true"); |
| | | } |
| | | |
| | | |
| | |
| | | String oldForceDaemonStr = |
| | | setProperty(PROPERTY_FORCE_DAEMON_THREADS, |
| | | String.valueOf(forceDaemonThreads)); |
| | | if (oldForceDaemonStr == null) |
| | | { |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | return oldForceDaemonStr.equalsIgnoreCase("true"); |
| | | } |
| | | return oldForceDaemonStr != null && |
| | | oldForceDaemonStr.equalsIgnoreCase("true"); |
| | | } |
| | | |
| | | |
| | |
| | | public boolean disableExec() |
| | | { |
| | | String disableStr = getProperty(PROPERTY_DISABLE_EXEC); |
| | | if (disableStr == null) |
| | | { |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | return disableStr.equalsIgnoreCase("true"); |
| | | } |
| | | return disableStr != null && disableStr.equalsIgnoreCase("true"); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | String oldDisableStr = setProperty(PROPERTY_DISABLE_EXEC, |
| | | String.valueOf(disableExec)); |
| | | if (oldDisableStr == null) |
| | | { |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | return oldDisableStr.equalsIgnoreCase("true"); |
| | | } |
| | | return oldDisableStr != null && oldDisableStr.equalsIgnoreCase("true"); |
| | | } |
| | | |
| | | |
| | |
| | | return LockManager.DEFAULT_CONCURRENCY_LEVEL; |
| | | } |
| | | |
| | | int concurrencyLevel = -1; |
| | | int concurrencyLevel; |
| | | try |
| | | { |
| | | concurrencyLevel = Integer.parseInt(levelStr); |
| | |
| | | * |
| | | * |
| | | * Copyright 2006-2009 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.types; |
| | | import static org.opends.messages.UtilityMessages.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | | import java.io.BufferedWriter; |
| | | import java.io.File; |
| | | import java.io.FileOutputStream; |
| | | import java.io.IOException; |
| | | import java.io.OutputStream; |
| | | import java.io.OutputStreamWriter; |
| | | import java.io.*; |
| | | import java.util.ArrayList; |
| | | import java.util.HashSet; |
| | | import java.util.List; |
| | |
| | | mayExtend=false, |
| | | mayInvoke=true) |
| | | public final class LDIFExportConfig extends OperationConfig |
| | | implements Closeable |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | return false; |
| | | } |
| | | |
| | | if (! includeAttributes.isEmpty()) |
| | | { |
| | | return includeAttributes.contains(attributeType); |
| | | } |
| | | |
| | | return true; |
| | | return includeAttributes.isEmpty() || |
| | | includeAttributes.contains(attributeType); |
| | | } |
| | | |
| | | |
| | |
| | | * |
| | | * |
| | | * Copyright 2006-2009 Sun Microsystems, Inc. |
| | | * Portions Copyright 2012 ForgeRock AS |
| | | * Portions Copyright 2012-2013 ForgeRock AS |
| | | */ |
| | | package org.opends.server.types; |
| | | |
| | | |
| | | |
| | | import java.io.BufferedReader; |
| | | import java.io.BufferedWriter; |
| | | import java.io.File; |
| | | import java.io.FileInputStream; |
| | | import java.io.FileWriter; |
| | | import java.io.InputStream; |
| | | import java.io.InputStreamReader; |
| | | import java.io.IOException; |
| | | import java.io.OutputStream; |
| | | import java.io.OutputStreamWriter; |
| | | import java.io.Reader; |
| | | import java.io.*; |
| | | import java.util.ArrayList; |
| | | import java.util.HashSet; |
| | | import java.util.Iterator; |
| | |
| | | mayExtend=false, |
| | | mayInvoke=true) |
| | | public final class LDIFImportConfig extends OperationConfig |
| | | implements Closeable |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | subordinateTypes.get(attributeType); |
| | | if (subTypes == null) |
| | | { |
| | | return Collections.<AttributeType>emptyList(); |
| | | return Collections.emptyList(); |
| | | } |
| | | else |
| | | { |
| | |
| | | throws IOException |
| | | { |
| | | // Get a sorted list of the files in the schema directory. |
| | | String schemaDirectory = |
| | | SchemaConfigManager.getSchemaDirectoryPath(false); |
| | | TreeSet<File> schemaFiles = new TreeSet<File>(); |
| | | for (File f : new File(schemaDirectory).listFiles()) |
| | | { |
| | | if (f.isFile()) |
| | | { |
| | | schemaFiles.add(f); |
| | | } |
| | | } |
| | | |
| | | schemaDirectory = |
| | | SchemaConfigManager.getSchemaDirectoryPath(true); |
| | | String schemaDirectory = |
| | | SchemaConfigManager.getSchemaDirectoryPath(); |
| | | for (File f : new File(schemaDirectory).listFiles()) |
| | | { |
| | | if (f.isFile()) |
| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2012 ForgeRock AS |
| | | * Portions Copyright 2012-2013 ForgeRock AS |
| | | */ |
| | | package org.opends.server.util; |
| | | import java.io.BufferedReader; |
| | | import java.io.BufferedWriter; |
| | | import java.io.IOException; |
| | | import java.io.InputStream; |
| | | |
| | | import java.io.*; |
| | | import java.net.URL; |
| | | import java.util.*; |
| | | import java.util.concurrent.atomic.AtomicLong; |
| | |
| | | mayInstantiate=true, |
| | | mayExtend=false, |
| | | mayInvoke=true) |
| | | public final class LDIFReader |
| | | public final class LDIFReader implements Closeable |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | TRACER.debugInfo("Skipping entry %s because the it reading" + |
| | | TRACER.debugInfo("Skipping entry %s because reading" + |
| | | "its attributes failed.", entryDN); |
| | | } |
| | | Message message = ERR_LDIF_READ_ATTR_SKIP.get(String.valueOf(entryDN), |
| | | e.getMessage()); |
| | | logToSkipWriter(lines, message); |
| | | suffix.removePending(entryDN); |
| | | continue; |
| | | } |
| | |
| | | * |
| | | * |
| | | * Copyright 2006-2009 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.util; |
| | | |
| | | |
| | | |
| | | import java.io.BufferedWriter; |
| | | import java.io.Closeable; |
| | | import java.io.IOException; |
| | | import java.util.Iterator; |
| | | import java.util.List; |
| | |
| | | import java.util.Collection; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.tools.makeldif.TemplateEntry; |
| | | import org.opends.server.types.*; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | import static org.opends.server.util.Validator.*; |
| | | |
| | |
| | | mayInstantiate=true, |
| | | mayExtend=false, |
| | | mayInvoke=true) |
| | | public final class LDIFWriter |
| | | public final class LDIFWriter implements Closeable |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | | */ |
| | | private static final DebugTracer TRACER = getTracer(); |
| | | |
| | | // FIXME -- Add support for generating a hash when writing the data. |
| | | // FIXME -- Add support for signing the hash that is generated. |
| | | |
| | |
| | | * to LDIF. |
| | | * |
| | | * @throws LDIFException If a problem occurs while trying to determine |
| | | * whether to include the temlate entry in the export. |
| | | * whether to include the template entry in the |
| | | * export. |
| | | */ |
| | | public boolean writeTemplateEntry(TemplateEntry templateEntry) |
| | | throws IOException, LDIFException |
| | |
| | | buildRoot + File.separator + "build"); |
| | | File buildDir = new File(buildDirStr); |
| | | File unitRoot = new File(buildDir, "unit-tests"); |
| | | File testInstallRoot = null; |
| | | File testInstanceRoot = null; |
| | | File testInstallRoot; |
| | | File testInstanceRoot; |
| | | if (installedRoot == null) { |
| | | testInstallRoot = new File(unitRoot, "package-install"); |
| | | testInstanceRoot = new File(unitRoot, "package-instance"); |
| | |
| | | File testResourceDir = new File(testSrcRoot, "resource"); |
| | | // Set the class variable |
| | | testConfigDir = new File(testInstanceRoot, "config"); |
| | | File testSchemaDir = new File(testInstallRoot, "config"); |
| | | File testSchemaDir = new File(testInstanceRoot, "config"); |
| | | File testClassesDir = new File(testInstanceRoot, "classes"); |
| | | File testLibDir = new File(testInstallRoot, "lib"); |
| | | File testBinDir = new File(testInstallRoot, "bin"); |
| | |
| | | |
| | | String systemOut = TestCaseUtils.getSystemOutContents(); |
| | | if (systemOut.length() > 0) { |
| | | logsContents.append(EOL + "System.out contents:" + EOL + systemOut); |
| | | logsContents.append(EOL).append("System.out contents:") |
| | | .append(EOL).append(systemOut); |
| | | } |
| | | |
| | | String systemErr = TestCaseUtils.getSystemErrContents(); |
| | | if (systemErr.length() > 0) { |
| | | logsContents.append(EOL + "System.err contents:" + EOL + systemErr); |
| | | logsContents.append(EOL).append("System.err contents:") |
| | | .append(EOL).append(systemErr); |
| | | } |
| | | } |
| | | |
| | |
| | | bytes = bout.toByteArray(); |
| | | } |
| | | finally { |
| | | if (close && is != null) { |
| | | if (close) { |
| | | try { |
| | | is.close(); |
| | | } |
| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.backends; |
| | | |
| | |
| | | import org.testng.annotations.Test; |
| | | |
| | | import org.opends.server.TestCaseUtils; |
| | | import org.opends.server.backends.SchemaBackend; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.AddOperationBasis; |
| | | import org.opends.server.core.DeleteOperationBasis; |
| | |
| | | String attrName = "testaddattributetypetoaltschemafile"; |
| | | assertFalse(DirectoryServer.getSchema().hasAttributeType(attrName)); |
| | | |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(true), |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(), |
| | | "98-schema-test-attrtype.ldif"); |
| | | assertFalse(schemaFile.exists()); |
| | | |
| | |
| | | String attrName = "testreplaceattributetypeinaltschemafile"; |
| | | assertFalse(DirectoryServer.getSchema().hasAttributeType(attrName)); |
| | | |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(true), |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(), |
| | | "98-schema-test-replaceattrtype.ldif"); |
| | | assertFalse(schemaFile.exists()); |
| | | |
| | |
| | | String ocName = "testaddobjectclasstoaltschemafile"; |
| | | assertFalse(DirectoryServer.getSchema().hasObjectClass(ocName)); |
| | | |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(true), |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(), |
| | | "98-schema-test-oc.ldif"); |
| | | assertFalse(schemaFile.exists()); |
| | | |
| | |
| | | String nameFormName = "testaddnameformtoaltschemafile"; |
| | | assertFalse(DirectoryServer.getSchema().hasNameForm(nameFormName)); |
| | | |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(true), |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(), |
| | | "98-schema-test-nameform.ldif"); |
| | | assertFalse(schemaFile.exists()); |
| | | |
| | |
| | | String ocName = "testadddcrtoaltschemafileoc"; |
| | | assertFalse(DirectoryServer.getSchema().hasObjectClass(ocName)); |
| | | |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(true), |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(), |
| | | "98-schema-test-dcr.ldif"); |
| | | assertFalse(schemaFile.exists()); |
| | | |
| | |
| | | int ruleID = 999010; |
| | | assertFalse(DirectoryServer.getSchema().hasDITStructureRule(ruleID)); |
| | | |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(true), |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(), |
| | | "98-schema-test-dsr.ldif"); |
| | | assertFalse(schemaFile.exists()); |
| | | |
| | |
| | | "-f", path |
| | | }; |
| | | |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(true), |
| | | File schemaFile = new File(SchemaConfigManager.getSchemaDirectoryPath(), |
| | | "98-schema-test-mru.ldif"); |
| | | assertFalse(schemaFile.exists()); |
| | | |
| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | * Portions Copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | package org.opends.server.protocols.jmx; |
| | | |
| | |
| | | hasPrivilege); |
| | | |
| | | |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(true); |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(); |
| | | |
| | | String identifier; |
| | | Entry authNEntry = conn.getAuthenticationInfo().getAuthenticationEntry(); |
| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.tasks; |
| | | |
| | |
| | | DirectoryServer.registerMatchingRule(matchingRule, false); |
| | | |
| | | |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(true); |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(); |
| | | |
| | | String[] fileLines = |
| | | { |
| | |
| | | Thread.sleep(2); |
| | | |
| | | |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(true); |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(); |
| | | |
| | | |
| | | SchemaTestMatchingRule matchingRule1 = |
| | |
| | | Thread.sleep(2); |
| | | |
| | | |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(true); |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(); |
| | | |
| | | File emptyFile = new File(schemaDirectory, "05-empty.ldif"); |
| | | emptyFile.createNewFile(); |
| | |
| | | public void testAddInvalidSchemaFile() |
| | | throws Exception |
| | | { |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(true); |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(); |
| | | |
| | | File invalidFile = new File(schemaDirectory, "05-invalid.ldif"); |
| | | BufferedWriter writer = new BufferedWriter(new FileWriter(invalidFile)); |
| | |
| | | * |
| | | * |
| | | * Copyright 2007-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | * Portions Copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | package org.opends.server.types; |
| | | |
| | |
| | | hasPrivilege); |
| | | |
| | | |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(true); |
| | | String schemaDirectory = SchemaConfigManager.getSchemaDirectoryPath(); |
| | | |
| | | String identifier; |
| | | Entry authNEntry = conn.getAuthenticationInfo().getAuthenticationEntry(); |