Still same issue.. so i conducted a test with ldifde -f domain.ldf it connected with the service account and started the export correctly.. so the user account password syntax is correct, but I still get the error from the -c requires 'From DN' and 'To DN' .. why???
AD LDS sync with AD
AD LDS sync error running the following command:
C:\Windows\ADAM> ldifde.exe -i -f .\MS-adamschemaw2k8.LDF -s localhost:389 -k -j . -c "cn=configuration,dc=x" #configurationnamingcontext
error: Invalid Parameter: Requires 'From DN' and 'To DN'
have checked syntax with upper and lower case same error to prep the AD LDS for sync with AD. member server W2016 with AD LDS role installed.
10 answers
Sort by: Most helpful
-
-
Ron Hatfield 1 Reputation point
2021-06-16T13:01:32.953+00:00 So I tried this :
I think the command is looking for quotes around the #configurationnamingcontext
but a new error came up.. from line 16
PS C:\Windows\ADAM> ldifde -i -f .\ms-adamschemaw2k8.ldf -s localhost:389 -b sldap northside.local xw+5kU=J5fb2+pSB -k
j . -c “cn=configuration, dc=x” "#configurationNamingContext"
Connecting to "localhost:389"
Logging in as "sldap" in domain "northside.local" using SSPI
Importing directory from file ".\ms-adamschemaw2k8.ldf"
Loading entries.
Add error on entry starting on line 16: Referral
The server side error is: 0x202b A referral was returned from the server.
The extended server error is:
0000202B: RefErr: DSID-031007F9, data 0, 1 access points
ref 1: 'x'0 entries modified successfully.
An error has occurred in the program -
Ron Hatfield 1 Reputation point
2021-06-17T12:14:19.94+00:00 anyone familiar with that line and what the referral is asking?? doing??? purpose??
-
Ron Hatfield 1 Reputation point
2021-06-18T02:33:57.5+00:00 what are the permissions required for the domain account im using to execute the schema extension and sync?? maybe there is something I am missing there.
required form and to DN is confusing.. all the syntax states the information -c xxxx cannot be changes type as it is shown... I have done that and just tried to put "" around the last part and got the line 16 error.. so if you take the "" out am stuck on the DN issue... give me a 411 on the account maybe that is the issue.
-
Ron Hatfield 1 Reputation point
2021-06-29T12:14:49.55+00:00 adding the keys to the kingdom did not change the results still the same with or without the -b in the command.
Invalid Parameter: Requires 'From DN' and 'To DN'