Microsoft KB Archive/259282

= How to remove accounts that have invalid characters =

Article ID: 259282

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q259282



SUMMARY
In some situations, an invalid object is placed in the directory through a third-party program or a Lightweight Directory Access Protocol (LDAP) import. You cannot modify or delete the object using the Exchange Server Administration program, and you cannot delete the object in raw mode. In addition, the following error message is displayed:

The object cannot be found in the directory. This may be because replication has not completed. c1010aae



MORE INFORMATION
The Ldp.exe file is on the Windows 2000 Server CD in the CD:\support\tools directory. To install it, run 2000RKST.MSI.

To remove the affected mailboxes, use the following procedure.

WARNING Ldp.exe is an LDAP program that exposes the directory in raw mode. Be careful when you use this tool.

Step 1: Find the Directory Name of the Affected Mailbox

 * 1) Run a Directory Export of the Recipients container where the mailbox(es) exist.
 * 2) Open the .csv file that is created.
 * 3) Find the Directory Name header, and identify the directory name for the mailbox(es) you want to remove.
 * 4) Copy the DN string that is listed into Notepad.

Step 2: Modify the Directory Name so You Can Use it in LDP
 Type cn= before the directory name and add a comma after it.  After the comma, type cn=Recipients,ou=Site,o=Org (the cn= parameter may be different, depending on which container the account exists in), as shown in the following example: cn=UserName?,cn=Recipients,ou=Site,o=Org NOTE: The question mark (?) remains after UserName, because it is the invalid character and is the reason for this deletion. 

Step 3: Remove the Mailbox
 Run Ldp.exe. On the Connection menu, click Connect. When you are prompted for a server name, type the name of the Exchange Server computer where the mailbox resides. Verify that the port is 389, and make sure the Connectionless check box is cleared.

NOTE: Port 389 is the default LDAP port. This port may have changed for technical reasons, so please verify this with your system administrator. Click OK. You should see that a connection is established.</li> On the Connection menu, click Bind.</li> Type a user name that has administrative rights to the Exchange Server computer, and then type the password for the user.</li> Click to select the check box next to Domain, type the domain name for the account, and then click OK. The following message should be displayed at the bottom of the LDP screen:

Authenticated as dn:

</li> On the Browse menu, click Delete.</li> Cut and paste the entry you created in Notepad into the DN field in the Delete dialog box, and then click OK. You should see a message confirming the deletion at the bottom of the LDP screen.</li></ol>

Keywords: kberrmsg kbinfo KB259282

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.