[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: translucent overlay add an attribute to all users in a OU and subtree
- To: openldap-technical@openldap.org
- Subject: Re: translucent overlay add an attribute to all users in a OU and subtree
- From: Nicolas RENAULT <nicolas_renault@yahoo.fr>
- Date: Wed, 06 Aug 2014 18:16:07 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1407341771; bh=h8D64oWXNr2nRtJ2gAGI91Mr15VfaCPwEDnvJ/9HW/Q=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=5gJhzsGJYE1vE2u+8AD7BAUs4RiGwFtNSvM41zbK+b9KUf7Pk78+0UtVgxkpiJxluxlIgrTXwsDcC4yi5a8SutjGCgVOIMBT8w06v3XM9YlxsM9jN1tsSLvXltd8uMzJ5cRn2yU/Gc3zQ/1k4AAbYIe19MYe/nRwwnqK1yjhiH8=
- In-reply-to: <53E180E9.10005@symas.com>
- References: <53E0F6B2.9030302@yahoo.fr> <53E180E9.10005@symas.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
Le 06/08/2014 03:12, Howard Chu a écrit :
Nicolas RENAULT wrote:
how can I add attributes to the translucent instance to all users in an
OU (and sub) ?
See slapo-collect.
is there another way to do what I want to do ?
thanks all for responses
thanks I think that this is what I want,
but I cannot find any exemple of the use for this overlay on google or
other site, And the man slapo-collect, is not clear for me.
info : openldap 2.4.39 , as exemple, I want to add attribute
'networkAddress' and 'homeDrive' for all the inetOrgPerson from my Edir
: ou=EDIR,OU=TOUT,dc=exemple,dc=fr
so questions :
* in slapd.conf (I use it because of meta ) : I have to add these lines ?
moduleload collect
...
overlay collect
collectinfo cn=ancestor,ou=EDIR,OU=TOUT,dc=exemple,dc=fr
networkAdress,homeDrive
(I choose ancestor for cn cause they talk about ancestor in the man command)
* don't understand how to create the ancestor ? just as an inetOrgPerson
with the 2 attributes ?
* as 'homeDrive' or 'networkAddress' are not on inetOrgPerson schema
(MAY or MUST) it will be a problem no ?
Thanks for reply or link to exemple.
Regards
--
Nicolas