D'oh!  Thanks Chris.  Script works great now.
 
AG

________________________________

From: Chris Ridd [mailto:[EMAIL PROTECTED]
Sent: Sat 8/5/2006 9:03 PM
To: Giuoco, Aaron; perl-ldap@perl.org
Subject: Re: Moving computer object in Active Directory



moddn() (aka ModifyDN) is the right method to use.

The newrdn parameter is mandatory (even if you're just moving the entry to a
new parent), and *must* be an RDN and not (like you're passing) a DN.

So if you pass a more reasonable string to newrdn, it ought to work...

Cheers,

Chris




Reply via email to