[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Search only few subtrees under baseDN
- To: openldap-technical@openldap.org
- Subject: Re: Search only few subtrees under baseDN
- From: Ervin Hegedüs <airween@gmail.com>
- Date: Sun, 13 May 2018 09:42:22 +0200
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=iSbWLnnTU5PCd8GV2SnDsE+o23CJhKuKI1J8f+viHpA=; b=asT669kUV8zpj6DBLBSs2fRx9ZbvnURvArBz8SJMsBzcY2H9+dV4PV9dC3EMJk7A5v bORFB6Gnsn3n1wuu54knOoaroc88hpxC1PkaFaNvvdaMLrofc9bmnzIg2g8M/9qyE+ur GlIktLA9Pl1Ty/ydEECDqe+0Fr91G0qalSLUTz+OKCvu4F/xNKdfk1yTox1XPYljfsgs DvEQ+XL1Rg+Q9ZYrlIo+UUKhxXgYjUNqSCsviclVp1ST4HA/PlGrPEOVrrv2Q9ZmW/pe MSUVfu1PXmIQk4URj36wnipF5DYEXqY7YVFG+f6I9P7nFC86J3+FGPVWs92qJbO5gJ5e QURQ==
- In-reply-to: <20180510160248.GA6878@arxnet.hu>
- References: <20180509110005.GA23312@arxnet.hu> <20180510160248.GA6878@arxnet.hu>
- User-agent: Mutt/1.5.24 (2015-08-30)
Hi,
On Thu, May 10, 2018 at 06:02:48PM +0200, Ervin Hegedüs wrote:
> Hi again,
>
> On Wed, May 09, 2018 at 01:00:05PM +0200, Ervin Hegedüs wrote:
> > Hi,
> >
> [...]
>
> >
> > Is there any way to set up one or more ACL's, where admin1 user
> > can set up the dc=sub-company21,dc=company2,dc=hu as baseDN, and
> > can start to search from there, but he will see the entries only
> > from ou=orgunit1 and ou=orgunit2?
>
> if there isn't any solution with ACL, can I make it some other
> way? I mean, back_meta, rewrite, or other overlay solutions...?
>
I'm playing with aliases, thought I can make it with it.
The tree:
dn: ou=orgunit1,dc=sub-company21,dc=company2,dc=hu
dn: ou=orgunit2,dc=sub-company21,dc=company2,dc=hu
dn: ou=orgunit3,dc=sub-company21,dc=company2,dc=hu
and the new "collection":
dn: ou=collection1,dc=sub-company21,dc=company2,dc=hu
I'ld like to add an alias from ou=orgunit1 under ou=collection1:
dn: ou=orgunit1,dc=sub-company21,dc=company2,dc=hu
changetype: add
objectClass: alias
objectClass: top
objectClass: organizationalUnit
aliasedObjectName: ou=orgunit1,ou=collection1,dc=sub-company21,dc=company2,dc=hu
but the ldapadd gives:
invalid structural object class chain (alias/organizationalUnit)
I've tried to add the alias as dn=aliased_name, and
aliasedObjectName is the original, but same result.
How can I add the OU alias, with all children?
Thanks,
a.