OS - Windows Server 2008 R2
Localhost: DC as well as running an AD LDS instance
Here are the command(s) I used:
ldifde -i -u -f differences.ldf -s localhost:50004 -b myUserAccount MyDomain MyPassword -j . -c "cn=Configuration, dc=X" #configurationNamingContext
ldifde -i -u -f differences.ldf -s localhost:50004 -j C:\Windows\ADAM\logs -c "cn=Configuration, dc=x" #configurationNamingContext
All of them failing and saying that '-i' is invalid parameter. But the documentation clearly says "-i" simply turns on import mode.
(please note my local host is DC as well as running a AD LDS instance at 50004 port. And also note that i can connect to the service instance with ASDI EDIT or ldp etc. admin utils)
Not sure what I am missing - I am just following this Step-by-Step guide, trying to understand how to sync AD DS users to my account. Not sure why it's too complex :)
Also, are there any PowerShell Cmdlet(s) to do the same - since I am a .NET developer, I can probably get used to the tools if it's cmdlets, I guess.
Any thoughts or help is appreciated :)
Please note the following Cmd is working fine:
C:\Windows\ADAM>ldifde -i -s localhost:50004 -c CN=Configuration,DC=X #Configura
tionNamingContext -f MS-AdamSchemaW2k3.ldf
Connecting to "localhost:50004"
Logging in as current user using SSPI
Importing directory from file "MS-AdamSchemaW2k3.ldf"
Loading entries.................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.................................................................
1009 entries modified successfully.
The command has completed successfully
C:\Windows\ADAM>
Best Regards!