Re: Modifying dsheuristics



On Apr 25, 4:30 pm, "Lee Flight" <l...@xxxxxxxxxxxxxxx> wrote:
Hi

I'm not aware of anything in ADAM unattended install. Other options
would be using a script, google for "dsheuristicsvbscript" or to
use ldif file (create a test ADAM instance, setdsheuristics, export
as ldif file and then test import against a new instance).

Lee Flight

<alicewond...@xxxxxxxxx> wrote in message

news:1177486095.087029.44730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Hi,

Is there any way to modifydsheuristicsattribute without using ADAM
ADSI Edit, maybe using a script or when performing an unattended
installation of an ADAM instance?

Thanks!- Hide quoted text -

- Show quoted text -

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,whenChanged

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!



.



Relevant Pages

  • Re: Modifying dsheuristics
    ... I'm not aware of anything in ADAM unattended install. ... as ldif file and then test import against a new instance). ... maybe using a script or when performing an unattended ...
    (microsoft.public.windows.server.active_directory)
  • Re: Modifying dsheuristics
    ... I'm not aware of anything in ADAM unattended install. ... as ldif file and then test import against a new instance). ... maybe using a script or when performing an unattended ...
    (microsoft.public.windows.server.active_directory)
  • Re: Modifying dsheuristics
    ... I'm not aware of anything in ADAM unattended install. ... use ldif file (create a test ADAM instance, set dsheuristics, export ... as ldif file and then test import against a new instance). ... maybe using a script or when performing an unattended ...
    (microsoft.public.windows.server.active_directory)
  • Re: understanding ADAM
    ... you can do anything with your data with MIIS. ... Use of included script samples are subject to the terms specified at ... > ADAM dm_user-object: ... >>>SDE, Active Directory Core ...
    (microsoft.public.windows.server.active_directory)
  • Re: Enumerate User Attributes
    ... I don't have the equipment and/or knowledge to duplicate ... I feel I have come such a long way with ADAM ... You can use rootDSE to bind to a few things, ... user to supply that information when the script runs (for example, ...
    (microsoft.public.windows.server.active_directory)