Re: What's wrong with this code?

[email protected] (Chris Ridd)
Newsgroups perl.ldap
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.