Andrew, Find attached 2 patches for the rebuildextendeddn script. Patch 0001 is for functions used to get attributes with DN syntax and attributes with forward links Patch 0002 is for the rebuild script it self. Let me know ! Matthieu.