Q

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?

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?
Yes. You can modify the DC section to put in your domain name for the users:

1.DN,instanceType,distinguishedName,objectCategory,objectClass,name,cn, 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@ISP.com,John,/o=MYDOMAIN/ou=first administrative group/cn=Recipients/cn= 9. John Doe,,SMTP:John@ISP.com;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, 17. SMTP:John@ISP.com

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
This Content Component encountered an error

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close