Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: 1 Jun 2006 07:30:11 -0700,    group: microsoft.public.exchange2000.admin        back       


ldifde syntax - mail-enabling / create Mailbox for an existing AD user   
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.
date: 1 Jun 2006 07:30:11 -0700   author:   Stephan

Re: ldifde syntax - mail-enabling / create Mailbox for an existing AD user   
Stephan wrote:
> 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.duck@dasy.net
proxyAddresses: SMTP:donald.duck@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.....
date: 2 Jun 2006 00:51:40 -0700   author:   Stephan

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us