{ SchemaConstants.OBJECT_CLASSES_AT, SchemaConstants.ATTRIBUTE_TYPES_AT,
SchemaConstants.LDAP_SYNTAXES_AT, SchemaConstants.MATCHING_RULES_AT,
SchemaConstants.MATCHING_RULE_USE_AT, SchemaConstants.CREATE_TIMESTAMP_AT,
SchemaConstants.MODIFY_TIMESTAMP_AT } );
LdifEnumeration le = ExportLdifJob.search( browserConnection, sp, monitor );
if ( le.hasNext() )
{
LdifContentRecord schemaRecord = ( LdifContentRecord ) le.next();
schema = new Schema();
schema.loadFromRecord( schemaRecord );
browserConnection.setSchema( schema );
}
else