| | |
| | | |
| | | |
| | | import static org.opends.messages.CoreMessages.*; |
| | | import static org.opends.server.loggers.ErrorLogger.logError; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugEnabled; |
| | | import static org.opends.server.loggers.debug.DebugLogger.getTracer; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | |
| | | uAttrs.put(attributeType, attrList); |
| | | |
| | | pattern = "creatorsName: "; |
| | | try |
| | | { |
| | | int att_cr = clearLDIFchanges.indexOf(pattern); |
| | | if (att_cr>0) |
| | | { |
| | |
| | | uAttrs.put(attributeType, attrList); |
| | | } |
| | | } |
| | | catch(Exception e) |
| | | { |
| | | TRACER.debugCaught(DebugLogLevel.ERROR, e); |
| | | logError(Message.raw(Category.SYNC, Severity.MILD_ERROR, |
| | | "Error in External Change Log when looking for pattern \"" |
| | | + pattern + "\" in string \""+ |
| | | clearLDIFchanges + "\" for change " + dnString)); |
| | | } |
| | | } |
| | | else if (changetype.equals("modify")||changetype.equals("modrdn")) |
| | | { |
| | | if (changetype.equals("modify")) |
| | |
| | | } |
| | | |
| | | pattern = "modifiersName: "; |
| | | try |
| | | { |
| | | int att_cr = clearLDIFchanges.indexOf(pattern); |
| | | if (att_cr>0) |
| | | { |
| | |
| | | uAttrs.put(attributeType, attrList); |
| | | } |
| | | } |
| | | catch(Exception e) |
| | | { |
| | | TRACER.debugCaught(DebugLogLevel.ERROR, e); |
| | | logError(Message.raw(Category.SYNC, Severity.MILD_ERROR, |
| | | "Error in External Change Log when looking for pattern \"" |
| | | + pattern + "\" in string \""+ |
| | | clearLDIFchanges + "\" for change " + dnString)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | if (changetype.equals("delete") && (delInitiatorsName!=null)) |