[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: olcAccess/olcLimits modifications
- To: Quanah Gibson-Mount <quanah@zimbra.com>
- Subject: Re: olcAccess/olcLimits modifications
- From: Cole <cole@opteqint.net>
- Date: Tue, 15 Mar 2016 12:58:32 +0200
- Cc: "PenguinWhispererThe ." <th3penguinwhisperer@gmail.com>, openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=opteqint-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=nwH+etf5xWXwBvsWXhm4yPNlmWIPsF+/1plnJhpOJlY=; b=ymIYQqsGpNnTkGyIzwSeTw0emPE1gi53eR5A4Td++WGmutEpfvztH6EXedaQn5qkNu 2mwR264YceCmN2NgDbtxvO2DI7U/Pgwz0zn8lG+NcssTlfbeZARzdaMn4Hv74tjfGn9o ubvoO94SRQOTMBVupSnrYmNQsdD8yKnfTQa21xZqO/8wAu96XoUiKAD1BCCtUd3JK1yD di2sCetlmZ3TYLeTskh3HyUIBpvx1NjDCdmkduSt8EomZkzMSridac75OzFqko0Rq4TS N3DJH2REr7csMC7XDEm58BG+LJ1ca1khImbKoRaed06lKxuMxLi63N6h2hg5tK7yohfZ iVBQ==
- In-reply-to: <C3057E8441972D44CB3CAF6B@192.168.1.9>
- References: <CACtG2e1xydOLu2sOwzgaTLR8=w8zidWfFSupJR8VAVJNY0TgPA@mail.gmail.com> <20160310173947.GA7194@comet> <CACtG2e0FfYCfxTuxmBqs-c7Wdo28qEL5OqyMCRjO=hgjd8Jgwg@mail.gmail.com> <CACsf_wyAmkP20hsrevxLi9X+9-tVOYfODFfWgYL4qziU+Ej8hg@mail.gmail.com> <CACtG2e3AZthATaQH5e-T2WWSY5Bz_y0pUZAo6=m1-dHRZJnj9Q@mail.gmail.com> <CACsf_wxZO6SKJVrvA9g7GFpq=Fj7ez15hjbCPyeYe9wmwqSvZg@mail.gmail.com> <CACtG2e1T==n3_9377NAg=2_EDAbB2dtQTV_nYAmxGGo=Awrt5g@mail.gmail.com> <C3057E8441972D44CB3CAF6B@192.168.1.9>
> The poster who gave you that advice is wrong. "replace" replaces the entire
> entry with what you've added. You want add: value, not replace: value, like
> you originally had.
Thanks Quanah for providing the correct answer. I could not find an
example, and did not have a ldap server handy in order to test.
>
> To replace the 12th index, you could do:
>
> changetype: modify
> delete: olcAccess
> olcAccess: {11}
>
> ^ deletes the 12th index, since it is ZERO based. If you want the 13th
> index ({12}), adjust appropriately.
>
> changetype: modify
> add: olcAccess
> olcAccess: {11} <new rule>
So in order to modify olcAccess: {11}, you first have to delete it and
then re-add it? There is no way to modify it in place and change its
contents?
Thanks
/Cole
>
> --Quanah
>
> --
>
> Quanah Gibson-Mount
> Platform Architect
> Zimbra, Inc.
> --------------------
> Zimbra :: the leader in open source messaging and collaboration
> A division of Synacor, Inc