Home All Groups Group Topic Archive Search About

ldifde syntax - mail-enabling / create Mailbox for an existing AD user

Author
6 Jun 2006 10:58 AM
Stephan
I'm attempting to use LDIFDE to mail-enable users.  We're running
Exchange 2003 and AD2003.

Unfortunately I'm having some syntax issues and can't make this work.

I create an account with a password via "dsadd" (Donald Duck) and I'm
hoping
to be able to modify the account via ldifde to mail-enable it.

But I'm getting some errors while doing it.

I read the Article "ldifde syntax - mail-enabling an existing AD user"
form mabbu***@yahoo.ca in this news group - I got similar problems.

This is my commandline:

ldifde -i -f c:\ldflog\neu.txt

This is my the content of neu.txt:

dn: CN=Duck\, Donald,OU=Push-User,DC=msp-a,DC=local
changetype: modify
mailNickname: donald.duck
homeMDB: CN=Mailbox Store (SRV-A1),CN=First Storage
Group,CN=InformationStore,CN=SRV-A1,CN=Servers,CN=First Administrative
Group,CN=Administrative Groups,CN=MSP-A,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=msp-a,DC=local
mDBUseDefaults: TRUE

It always fails with an info that there is an error in line 3.....
(there are only 5 lines)

I would be very happy if someone can explain the right way.

THX

Stephan.
++++++++++++++++++++++++++++++++++++++++++
Today I tried another configuration:

same commandline but another content:


dn: CN=Duck\, Donald,OU=Push-User,DC=msp-a,DC=local
changetype: modify
objectclass: user
mailNickname: donald.duck
targetAddress: SMTP:donald.d***@dasy.net
proxyAddresses: SMTP:donald.d***@dasy.net

I got this output:

Connecting to "server.msp-a.local"
Logging in as current user using SSPI
Importing directory from file "c:\ldf\neu1.txt"
Loading entries

There is a syntax error in the input file
Failed on line 3.  The last token starts with 'o'.
0 entries modified successfully.
An error has occurred in the program
No log files were written.  In order to generate a log file, please
specify the log file path via the -j option.

I still stuck in the mud - Please help me.....

AddThis Social Bookmark Button