Right I have found out why I get an error when adding an entry. It doesn't like the mail attribute but what I can't understand is why?. Regards Tim Casson-Smith