Michele Petrazzo - Unipex srl wrote: <-cut-> Hi, thanks to all for the quickly reply. It was that it's the first time that I try to use ldap ;) and that like Bjørn says, "The DN is not a part of the ldif when using the API. " Remove that, now it's all working! Michele