Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LegacyExchangeDN,msExchHomeServerName Exchange 2003

Status
Not open for further replies.

deliyurek007

Vendor
May 7, 2009
8
0
0
NL
Hi,

I am busy to change the LegacyExchangeDN, msExchHomeServerName from with a script. but doesn't work.

I am using the follwing command:
csvde -f c:\users.csv -l "LegacyExchangeDN,msExchHomeServerName" -d "OU=UserTest,DC=Test,DC=com"

I see the details with old LegacyExchangeDN, msExchHomeServerName I modify the *.csv file with the correct information but when I want to import the file doesn't work. I open the csv file with wordpad and see this information.
Example:
"CN=User1,OU=UserTest,DC=Test,DC=com",/o=Exch/ou=Exchange/cn=Recipients/cn=User1,/o=Exch/ou=Exchange/cn=Configuration/cn=Servers/cn=WINEXCH

I changed the settings like :
Example:
"CN=User1,OU=UserTest,DC=Test,DC=com",/o=Exch2003/ou=Exchange/cn=Recipients/cn=User1,/o=Exch2003/ou=Exchange/cn=Configuration/cn=Servers/cn=WINEXCH

I saved the file and now I want to import. with the following command:
CSVDE -i -f users.csv and I get this message:
Currently connect to (null)
Log in as current user using SSPI
Currently importing from the file directory users.csv
The objectClass attribute is not defined
0 entries were changed.
There was an error in the program occurred
There are no log files. Specify the path for the
log files using the-j switch on when you
log file to create.

What do I wrong or how do I can modify the user settings to do that.
Does somebody now how can I modify the settings.

Regards,
Hakan91
 
This is the output file:

DN,legacyExchangeDN,msExchHomeServerName
"OU=UserTest,DC=Test,DC=com",,
"CN=User1,OU=UserTest,DC=Test,DC=com",/o=Exch/ou=Exchange/cn=Recipients/cn=User1,/o=Exch/ou=Exchange/cn=Configuration/cn=Servers/cn=WINEXCH

I modify only with wordpad the /o=Exch to Exch2003 and save the file.

Thats all what I did

Kind regards,
Hakan91
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top