Re: ADAM Configuration Partition (LDIF Modify)



Hi

you might need to take extra care with msDS-Other-Settings as it
is one of those multi-valued attributes that use value assertions
(Name=Value).

What I do is dump the entire attribute, make the modification
that I want (on a particular name, value pair) and then do a replace on the
entire attribute. Failing to do so may replace the multivalue attribute with
just your (single) modifcation.

Lee Flight

"Ulf B. Simon-Weidner [MVP]" <nospam2-ulf@xxxxxxxxxxxxxxxxxx> wrote in
message news:MPG.1df4c3f095db37d9989bfc@xxxxxxxxxxxxxxxxxxxxxxx
> Greg Williams says...
>> All,
>>
>> I am trying to create a script to modify the "RequireSecureProxyBind"
>> attribute located at:
>>
>> CN=Directory Service,CN=Windows
>> NT,CN=Services,CN=Configuration,CN={7398BA55-0A19-4006-8CBD-84B7E6633807}
>>
>> Attribute: msDS-Other-Settings
>> Value: RequireSecureProxyBind=1
>>
>> I am trying to figure out what syntax to use in order to write to the
>> Configuration Partion both from the command prompt "ldifde" and how the
>> script should be formatted.
>>
>> Thanks for the help!
>>
>
> Hello Greg,
>
> the easiest way is to export this object using ldifde first, then look at
> the
> output, modify that as needed and input it again.
>
> The syntax should be like
>
> DN: CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,CN=
> {7398BA55-0A19-4006-8CBD-84B7E6633807}
> changetype: modify
> replace: msDS-Other-Settings
> msDS-Other-Settings: RequireSecureProxyBind=1
> -
>
> The last "-" needs to be there followed by a blank line.
>
>
> --
> Gruesse - Sincerely,
>
> Ulf B. Simon-Weidner
>
> MVP-Book "Windows XP - Die Expertentipps": http://tinyurl.com/44zcz
> Weblog: http://msmvps.org/UlfBSimonWeidner
> Website: http://www.windowsserverfaq.org


.



Relevant Pages

  • Re: Help - need to change an attribute value
    ... All I need to change is the syntax - we have it set at "Case Sensitive ... ' Retrieve attribute value. ... strDepartment = LCase ... To modify users in many OU/Containers throughout, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Help - need to change an attribute value
    ... All I need to change is the syntax - we have it set at "Case Sensitive ... ' Retrieve attribute value. ... strDepartment = LCase ... To modify users in many OU/Containers throughout, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Order of evaluation and better declaration of functions
    ... Why burden documentation when code can communicate the same? ... modify .cpp, modify the incode documentation, modify design ... Please suggest alternative syntax. ...
    (comp.lang.cpp)
  • Re: complex mail merge in Word 2000 from Excel 2000 source
    ... I need to modify the example they've ... Just to have it in this thread for others to view, here is the syntax from ... Houston Kelley $9,000 ... to add to this syntax column headers that appear only at the top of each ...
    (microsoft.public.word.mailmerge.fields)
  • Re: ADAM Configuration Partition (LDIF Modify)
    ... Greg Williams says... ... > script should be formatted. ... the easiest way is to export this object using ldifde first, ... modify that as needed and input it again. ...
    (microsoft.public.windows.server.active_directory)