Re: ADAM Configuration Partition (LDIF Modify)
- From: "Lee Flight" <lef@xxxxxxxxxxxxxxx>
- Date: Mon, 28 Nov 2005 15:00:17 -0000
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
.
- Follow-Ups:
- Re: ADAM Configuration Partition (LDIF Modify)
- From: Greg Williams
- Re: ADAM Configuration Partition (LDIF Modify)
- References:
- ADAM Configuration Partition (LDIF Modify)
- From: Greg Williams
- Re: ADAM Configuration Partition (LDIF Modify)
- From: Ulf B . Simon-Weidner [MVP]
- ADAM Configuration Partition (LDIF Modify)
- Prev by Date: Re: share a remote desktop session
- Next by Date: Re: ADAM Backup and Restore
- Previous by thread: Re: ADAM Configuration Partition (LDIF Modify)
- Next by thread: Re: ADAM Configuration Partition (LDIF Modify)
- Index(es):
Relevant Pages
|