Fixed it, I made an archive of the open directory using server admin, change it to standalone server to delete the open directory, then recreated the master open directory with same credetials as before. Restored the archive I made and it worked. I thought I would have had the same problem...