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...@xxxxxxxx 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@xxxxxxxx
proxyAddresses: SMTP:donald.duck@xxxxxxxx

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.....

.



Relevant Pages

  • Re: Scheduled tasks not waking up the system and thus not executin
    ... a maintenance account, deleted all scheduled tasks and started from scratch. ... Then when I looked at the log file you indicated, well, there was ... I have never had such a hard time scheduling something this ... Error al iniciar la sesión en la cuenta asociada con la tarea. ...
    (microsoft.public.windowsxp.general)
  • Re: PerfMon recording to SQL 2005
    ... seconds or even every ne second) from a busy server to a database on ... On the Perfmon counter Log Files tab, SQL Database has been set, End File ... Configuring the log file, choose the tested DSN as the System DSN ... The user account I created in SQL is an owner of the ...
    (microsoft.public.sqlserver.server)
  • Re: PerfMon recording to SQL 2005
    ... I've been out of the SQL world for a couple years so dusting ... A System DSN, specifying windows authentication, and change to an ... Configuring the log file, choose the tested DSN as the System DSN ... The user account I created in SQL is an owner of the ...
    (microsoft.public.sqlserver.server)
  • Re: PerfMon recording to SQL 2005
    ... I've been out of the SQL world for a couple years so dusting off ... A System DSN, specifying windows authentication, and change to an existing ... Configuring the log file, choose the tested DSN as the System DSN ... The user account I created in SQL is an owner of the ...
    (microsoft.public.sqlserver.server)
  • Re: Last Login/Password Reset
    ... computer object to determine if the account is not being used. ... A log file keeps track of which computer objects ... Dim strComputerDN, objShell, lngBiasKey, lngBias, strComputerName ...
    (microsoft.public.scripting.vbscript)