[Melbourne-pm] Net::LDAP Help

Jie Gao J.Gao at isu.usyd.edu.au
Tue Aug 16 17:01:50 PDT 2005




On Wed, 17 Aug 2005, GODDEN, Dwayne wrote:

> Date: Wed, 17 Aug 2005 09:47:43 +1000
> From: "GODDEN, Dwayne" <d.godden at ioof.com.au>
> To: melbourne-pm at pm.org
> Subject: [Melbourne-pm] Net::LDAP Help
>
> Hello.
>
>     I'm looking for some help with LDAP moving users is AD.
> we have DN's with the cn have a ","
> ie (CN=PARKER\, Nick,OU=IOOF Users,DC=ioof,DC=com,DC=au|CN=PARKER,
> Nick|OU=Inactive,DC=ioof,DC=com,DC=au)

Quote the cn:

CN="PARKER, Nick"



Jie

> Even with the "\," I still get this error.
> unable to move, errorcode #64 at AD_Robot.pl line 303, <DATA> line 283.
>
> #64 = LDAP_NAMING_VIOLATION (64)
>
> If I rename the user with no "," it works fine but I can not do this for
> all out users.
>
> Can someone please HELP......
>
> Here is a snip of code that is doing the move.
>
> $result = $ldap->moddn($dn,
>                 newrdn => $cn,
>                 deleteoldrdn => '1',
>                 newsuperior => $branch
>                 );
> die "unable to move, errorcode #".$result->code() if $result->code(  );
>
>
>
> Dwayne Godden
> Infrastructure Services Group
>
> IOOF Investment Management
> ABN 53 006 695 021
> AFS Licence No. 230 524
>
> d.godden at ioof.com.au <mailto:d.godden at ioof.com.au>
> Phone 03 8614 4828
> Fax 03 8614 4908
> Mobile 0411 356 435
> Level 10, 303 Collins Street, Melbourne VIC 3000
>
>
>
> ****************************************************************************
> IMPORTANT - PLEASE READ
> This communication is intended only for the use of the addressee and
> may contain personal information, confidential information or legally
> privileged information. If personal information is contained in this e-mail,
> then it is governed by the Privacy Act 1988 and must be treated in
> accordance with the Privacy Act 1988 by the recipient. The legal
> privilege and confidentiality attached to this e-mail is not waivered,
> lost or destroyed by reason of mistaken delivery to you. If you are not
> the intended recipient, we would appreciate immediate notification by
> return e-mail or telephoning +61-3-8614-4444 and ask that the message
> be permanently deleted from your system. If you are the intended
> recipient of this communication you should not copy, disclose or distribute this communication without the authority of IOOF or its related entities (the IOOF Group).
> Any views expressed in this message are those of the individual sender,
> except where they are specifically stated to be the views of the IOOF
> Group.
> This e-mail and any attachments have been scanned for computer viruses
> using anti-viral software, but you should also perform your own scan. We
> do not accept liability for any loss or damage, whether caused by our own negligence or not, that results from a computer virus or a defect in the transmission of the e-mail or any attached file.
> ****************************************************************************
>
>


More information about the Melbourne-pm mailing list