On 17 Feb 2011, at 21:13, Prentice Bisbal wrote: > I cut off the last line of the errors, which says this, which might be > an additional clue: > > ntUserDomainId: value #0 invalid per syntax
What does your $ntUserDomainId value look like? If you call $ldap->debug(15) before $entry->add you will get some extra output showing what perl's sent to your server, and that should provide a big clue. Chris