| | |
| | | |
| | | import static org.forgerock.opendj.ldap.SearchScope.*; |
| | | import static org.forgerock.opendj.ldap.requests.Requests.*; |
| | | import static org.opends.admin.ads.util.ConnectionUtils.*; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.ArrayList; |
| | |
| | | { |
| | | SearchResultEntry sr = entryReader.readEntry(); |
| | | |
| | | String backendId = firstValueAsString(sr, "ds-cfg-backend-id"); |
| | | String backendId = sr.parseAttribute("ds-cfg-backend-id").asString(); |
| | | if (!isConfigBackend(backendId) || isSchemaBackend(backendId)) |
| | | { |
| | | Set<String> entries; |
| | |
| | | SearchResultEntry sr = entryReader.readEntry(); |
| | | |
| | | desc.serverProperties.put(ServerProperty.SCHEMA_GENERATION_ID, |
| | | firstValueAsString(sr, "ds-sync-generation-id")); |
| | | sr.parseAttribute("ds-sync-generation-id").asString()); |
| | | } |
| | | } |
| | | } |