As stated, I would expect a degree of selectivity to exist. The primary chloride should react fastest in an SN2 reaction. If it were a question of 1-chloro vs 1,12-dichlorododecane, I that would be a lot more difficult. A possible solution would not be to run a selective reaction. Simply separate the compounds after reaction. While the chloros may be more difficult to separate, if the chloros were converted to alcohols, they should be easily separated.