[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: olcAccess/olcLimits modifications
- To: "PenguinWhispererThe ." <th3penguinwhisperer@gmail.com>, Cole <cole@opteqint.net>, openldap-technical@openldap.org
- Subject: Re: olcAccess/olcLimits modifications
- From: Quanah Gibson-Mount <quanah@zimbra.com>
- Date: Mon, 14 Mar 2016 16:37:39 -0700
- Content-disposition: inline
- Dkim-filter: OpenDKIM Filter v2.10.3 edge02.zimbra.com 7F7C2A6309
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zimbra.com; s=C2AA288C-EE47-11E2-9BB0-E820BDD9BDBF; t=1457998668; bh=KxxonTrKmawNyZxFACo2qWkwisifdw9uj+SGMTBQLlw=; h=Date:From:To:Message-ID:MIME-Version; b=VCM7Lri8OQewkSInZ1jLzRwTqKhWGyo3jyeHqk3vH7ahC4SHwWRHgoPHMa6Vu12F+ k6YgYXvInjebRtwhE7BPE9OOBAZeTAxFvXZ3AaLn37BvQUu8DTgx0RAPinliaq23Ry 5kzP+zujDgNl4iGqkxjRWMy1sF9lCDOr1sl7+/jQ=
- In-reply-to: <CACtG2e1T==n3_9377NAg=2_EDAbB2dtQTV_nYAmxGGo=Awrt5g@mail.gmail.com>
- 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>
--On Monday, March 14, 2016 7:26 PM +0100 "PenguinWhispererThe ."
<th3penguinwhisperer@gmail.com> wrote:
I tried exactly that notation however that replaced the whole entry (so
only one index left). I only wanted to replace the 12th index.
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.
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>
--Quanah
--
Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
A division of Synacor, Inc