Re: moddn

2008-04-07 Thread Chris Ridd
On 7 Apr 2008, at 21:36, unxl3arn3r wrote: hey i am having trouble doing a moddn, all I want to do is move the object from one location to other. here is the script $ldap = new Net::LDAP('10.1.1.2', port=>389) or die $!; $ldap->bind (dn => 'cn=,cn=xx,dc=xxx,dc=xxx&#x

Re: moddn

2008-04-07 Thread Quanah Gibson-Mount
--On April 7, 2008 1:36:26 PM -0700 unxl3arn3r <[EMAIL PROTECTED]> wrote: hey i am having trouble doing a moddn, all I want to do is move the object from one location to other. here is the script $ldap = new Net::LDAP('10.1.1.2', port=>389) or die $!; $ldap->bind (dn =&

moddn

2008-04-07 Thread unxl3arn3r
hey i am having trouble doing a moddn, all I want to do is move the object from one location to other. here is the script $ldap = new Net::LDAP('10.1.1.2', port=>389) or die $!; $ldap->bind (dn => 'cn=,cn=xx,dc=xxx,dc=xxx' , password => 'md

RE: moddn/modrdn examples

2005-07-06 Thread Young, Darren
ext is: server does not support moving of entries 07-06-2005 19:06:45: _moveWWWLdapAccountOU: returning with val 0 Thanks for that snippet, it lead to decent message. Guess that means it supports "renaming" existing entries but not moving them? > You need to use $ldap->moddn

Re: moddn/modrdn examples

2005-07-06 Thread Graham Barr
On Jul 6, 2005, at 2:09 PM, Young, Darren wrote: I need to have a Net::LDAP script move users from one OU to another, can this be done with a dn() call or do I need to use moddn/modrdn? You need to use $ldap->moddn Anyone have an example of dn() or a moddn/modrdn call? $mesg = $l

moddn/modrdn examples

2005-07-06 Thread Young, Darren
I need to have a Net::LDAP script move users from one OU to another, can this be done with a dn() call or do I need to use moddn/modrdn? Anyone have an example of dn() or a moddn/modrdn call? - | Darren Young | http