Ask the Expert

Defining a DN attribute manually

How can I copy users from a Windows 2000 server not using Active Directory to Active Directory on another Windows 2000 server? I have exported the users on the original Windows 2000 server to a .csv file, but when using csvde.exe on the Active Directory server, it says the DN Attribute is not defined. Can I define it manually? If so, how?

Requires Free Membership to View

Yes. You can modify the DC section to put in your domain name for the users:

2. displayName,mail,givenName,legacyExchangeDN,middleName,proxyAddresses,
3. showInAddressBook,sn,textEncodedORAddress,internetEncoding,mailNickname,
4. mAPIRecipient,targetAddress
5. "CN=John Doe,OU=Sales,DC=MYDOMAIN,DC=local",4,"CN=John Doe,
6. OU=Sales,DC=MYDOMAIN,DC=local","CN=Person,CN=Schema,CN=Configuration,
7. DC=MYDOMAIN,DC=local",contact,John Doe,John Doe,John Doe,
8.,John,/o=MYDOMAIN/ou=first administrative group/cn=Recipients/cn=
9. John Doe,,;X400:c=us
10. ;a= ;p=MYDOMAIN;o=Exchange;s=Doe;g=John;,"CN=Default Global Address
11. List,CN=All Global Address Lists,CN=Address Lists Container,CN=MYDOMAIN,
12. CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=MYDOMAIN,DC=local;CN=All
13. Contacts,CN=All Address Lists,CN=Address Lists Container,CN=MYDOMAIN,
14. CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=MYDOMAIN,DC=local",
15. Doe,c=us;a=;
16. p=MYDOMAIN;o=Exchange;s=Doe;g=John;,1310720,JohnDoe,FALSE,

In this sample, you see we added the OU=Sales,DC=MYDOMAIN,DC=local section. From a standalone server these would be absent. So you simply paste them in to match the fact that John Doe is going to be in the Sales OU of the domain MYDOMAIN.local. Make sure you match these up exactly!

This was first published in October 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: