Modifying dsheuristics
My export succeeded when I added the GUID:
ldifde -s localhost:50004 -d "CN=Directory Service,CN=Windows
,CN=Services,CN=Configuration,CN={EC70F89A-DF6B-4849-ACAE-
EDA97E906D11}" -f test.ldf -m -o
objectCategory,usnCreated,usnChanged,whenCreated,w henChanged
But the file I got contained more information than I needed, and
contained the GUIDs of the imported objects.
I guess they are not necessary, but how do I get rid of them?
Anyway, if I want to modify and not add I should use changetype:
modify, right?
So here is the ldf file I've created:
dn: CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration
changetype: modify
replace: dSHeuristics
extensionAttribute1: 0000000001001
-
and the error I got:
Connecting to "localhost:50000"
Logging in as current user using SSPI
Importing directory from file "new.ldf"
Loading entries.
Add error on line 1: Operations Error
The server side error is: 0x20d6 A required subref is missing.
The extended server error is:
000020D6: SvcErr: DSID-0310072B, problem 5012 (DIR_ERROR), data 0
0 entries modified successfully.
An error has occurred in the program
Do I have to include the GUID? This is a problem since it will be
different for the new instance...
Please advice.
Thanks!
|