Assuming you can separate the two commons to give 6 wires, do the following:
a/ Pick a 'common' wire, label it #1. Measure resistance to all other wires. If you have only 2 other wires that seem to be connected to this one label them #2 and #3. If not then give up because you can't isolate the coils (unless you can open the motor case) and find a better motor.
b/ If the resistances are the same from #1 to #2 and #1 to #3 then you have one coil and #2 and #3 are the ends, #1 is the centre.. The resistance between #2 and #3 should be twice the resistance between #1 and #2 or #1 and #3 (with me so far?
). If not then #1 wasn't the common, so find the pair (out of #1, #2 and #3) with the highest resistance between them and those are the ends of the coil, so relabel them #2 and #3 and the remaining one becomes #1.
c/ Repeat a and b for the other 3 wires, using labels #4, #5 and #6.
d/ The result should be 6 wires, labelled #1 thru #6 where the resistance between #2 and #3 is the same as that between #5 and #6 and wires #1 - #3 are isolated from #4 - #6. If not, give up and find a better motor.
e/ Assuming all the above wire #2 to A+, #3 to A-, #5 to B+, #6 to B-. This should get the motor turning. The current limit should be set to 3v divided by the resistance between wires #2 and #3.
f/ if the motor turns in the wrong direction you can either correct this in the software or swap either wires #2 and #3 OR #5 and #6 over (but only one pair, not both).
Hope that's helps and is as clear as mud