| | |
| | | * |
| | | * Copyright 2006-2009 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013-2016 ForgeRock AS. |
| | | * Portions Copyright 2026 3A Systems, LLC. |
| | | */ |
| | | package org.opends.server.tasks; |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | if (backend == null) |
| | | { |
| | | // Unlike initializeTask(), this method does not reject an include branch which resolves to no |
| | | // backend, so none of them having resolved leaves nothing to import into. The message of the |
| | | // backend ID case is reused here rather than adding a new one for a malformed task. |
| | | logger.error(ERR_LDIFIMPORT_NO_BACKENDS_FOR_ID); |
| | | return TaskState.STOPPED_BY_ERROR; |
| | | } |
| | | |
| | | // Find backends with subordinate base DNs that should be excluded from the import. |
| | | defaultIncludeBranches = new HashSet<>(backend.getBaseDNs()); |
| | | for (Backend<?> subBackend : getServerContext().getBackendConfigManager().getSubordinateBackends(backend)) |