| | |
| | | addConfigFile("rest2ldap") |
| | | ); |
| | | |
| | | /* See OPENDJ-3089 */ |
| | | register("4.0.0", |
| | | addConfigEntry(INFO_UPGRADE_TASK_ADD_SCHEMA_PROVIDERS.get(), |
| | | "dn: cn=Schema Providers,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-branch", |
| | | "cn: Schema Providers"), |
| | | addConfigEntry( |
| | | "dn: cn=Core Schema,cn=Schema Providers,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-schema-provider", |
| | | "objectClass: ds-cfg-core-schema", |
| | | "cn: Core Schema", |
| | | "ds-cfg-java-class: org.opends.server.schema.CoreSchemaProvider", |
| | | "ds-cfg-enabled: true"), |
| | | deleteConfigEntry(INFO_UPGRADE_TASK_REMOVE_MATCHING_RULES_ENTRY.get(), |
| | | "cn=Matching Rules,cn=config"), |
| | | deleteConfigEntry(INFO_UPGRADE_TASK_REMOVE_SYNTAXES.get(), |
| | | "cn=Sun-defined Access Control Information,cn=Syntaxes,cn=config", |
| | | "cn=Attribute Type Description,cn=Syntaxes,cn=config", |
| | | "cn=Authentication Password,cn=Syntaxes,cn=config", |
| | | "cn=Binary,cn=Syntaxes,cn=config", |
| | | "cn=Bit String,cn=Syntaxes,cn=config", |
| | | "cn=Boolean,cn=Syntaxes,cn=config", |
| | | "cn=Certificate,cn=Syntaxes,cn=config", |
| | | "cn=Certificate Exact Assertion,cn=Syntaxes,cn=config", |
| | | "cn=Certificate List,cn=Syntaxes,cn=config", |
| | | "cn=Certificate Pair,cn=Syntaxes,cn=config", |
| | | "cn=Country String,cn=Syntaxes,cn=config", |
| | | "cn=Delivery Method,cn=Syntaxes,cn=config", |
| | | "cn=Directory String,cn=Syntaxes,cn=config", |
| | | "cn=Distinguished Name,cn=Syntaxes,cn=config", |
| | | "cn=DIT Content Rule Description,cn=Syntaxes,cn=config", |
| | | "cn=DIT Structure Rule Description,cn=Syntaxes,cn=config", |
| | | "cn=Enhanced Guide,cn=Syntaxes,cn=config", |
| | | "cn=Facsimile Telephone Number,cn=Syntaxes,cn=config", |
| | | "cn=Fax,cn=Syntaxes,cn=config", |
| | | "cn=Generalized Time,cn=Syntaxes,cn=config", |
| | | "cn=Guide,cn=Syntaxes,cn=config", |
| | | "cn=IA5 String,cn=Syntaxes,cn=config", |
| | | "cn=Integer,cn=Syntaxes,cn=config", |
| | | "cn=JPEG,cn=Syntaxes,cn=config", |
| | | "cn=LDAP Syntax Description,cn=Syntaxes,cn=config", |
| | | "cn=Matching Rule Description,cn=Syntaxes,cn=config", |
| | | "cn=Matching Rule Use Description,cn=Syntaxes,cn=config", |
| | | "cn=Name and Optional UID,cn=Syntaxes,cn=config", |
| | | "cn=Name Form Description,cn=Syntaxes,cn=config", |
| | | "cn=Numeric String,cn=Syntaxes,cn=config", |
| | | "cn=Object Class Description,cn=Syntaxes,cn=config", |
| | | "cn=Object Identifier,cn=Syntaxes,cn=config", |
| | | "cn=Octet String,cn=Syntaxes,cn=config", |
| | | "cn=Other Mailbox,cn=Syntaxes,cn=config", |
| | | "cn=Postal Address,cn=Syntaxes,cn=config", |
| | | "cn=Presentation Address,cn=Syntaxes,cn=config", |
| | | "cn=Printable String,cn=Syntaxes,cn=config", |
| | | "cn=Protocol Information,cn=Syntaxes,cn=config", |
| | | "cn=Substring Assertion,cn=Syntaxes,cn=config", |
| | | "cn=Subtree Specification,cn=Syntaxes,cn=config", |
| | | "cn=Supported Algorithm,cn=Syntaxes,cn=config", |
| | | "cn=Telephone Number,cn=Syntaxes,cn=config", |
| | | "cn=Teletex Terminal Identifier,cn=Syntaxes,cn=config", |
| | | "cn=Telex Number,cn=Syntaxes,cn=config", |
| | | "cn=UTC Time,cn=Syntaxes,cn=config", |
| | | "cn=User Password,cn=Syntaxes,cn=config", |
| | | "cn=UUID,cn=Syntaxes,cn=config", |
| | | "cn=Syntaxes,cn=config") |
| | | ); |
| | | |
| | | |
| | | /* All upgrades will refresh the server configuration schema and generate a new upgrade folder. */ |
| | | registerLast( |
| | | performOEMMigrationIfNeeded(), |