when I specify multiple --includeBranch parameters I get duplicate entries for every --includeBranch that I specify in a particular BaseDN. In other words, between the three branches that I specify, if I am expecting 7 entries to be exported, I get 3 copies the 7 entries.
in the exportLDIF function:
for (DN includeBranch : includeBranches)
if (includeBranch.isDescendantOf(baseDN) ||
I hope I have the right terminology: For multiple includeBranches in the same baseDN, it appears to add the same baseDN to the exportContainers arrayList multiple times. Could this be the problem?