[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Environment variable in slapd config
- To: Marc Roos <M.Roos@f1-outsourcing.eu>, openldap-technical <openldap-technical@openldap.org>
- Subject: Re: Environment variable in slapd config
- From: Howard Chu <hyc@symas.com>
- Date: Fri, 16 Aug 2019 14:03:43 +0100
- In-reply-to: <"H00000710014c2cd.1565960291.sx.f1-outsourcing.eu*"@MHS>
- References: <"H00000710014c2cd.1565960291.sx.f1-outsourcing.eu*"@MHS>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53
Marc Roos wrote:
>
> If you have a container image, and you spawn from that multiple
> instances, you have to be able to 'easily' change unique qualifiers,
> not?
What part of "RIDs are supposed to be unique within a single config"
did you not understand?
If you run multiple instances, each one has its own config. It doesn't
matter if you use the same RID in multiple configs.
>
>
> -----Original Message-----
> Subject: Re: Environment variable in slapd config
>
> Michael Ströder wrote:
>> On 8/16/19 12:02 PM, Marc Roos wrote:
>>> Is it possible to reference an environment variable in olcSyncrepl:
>>> {0}rid= ?
>>
>> No.
>
> The example doesn't even make sense. RIDs are supposed to be unique
> within a single config, there's no reason for them to have any global
> context such as an env var would imply.
>>
>> My recommendation is to use a decent config managment (ansible, chef,
>> puppet, salt, ..) for the job.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/