Atualmente executo duas instâncias do Apache no meu Ubuntu graças a este método:
múltiplas instâncias do Apache2 no Ubuntu
Ambas as instâncias usam ldap, uma está configurada com /etc/ldap/ldap.conf
. Gostaria de configurar o segundo com outro caminho de arquivo ldap.conf.
Você sabe como fazer isso ?
Responder1
De acordo com ldap.conf
a página de manual:
Additional configuration files can be specified using the LDAPCONF and
LDAPRC environment variables. LDAPCONF may be set to the path of a
configuration file. This path can be absolute or relative to the cur‐
rent working directory. The LDAPRC, if defined, should be the basename
of a file in the current working directory or in the user's home direc‐
tory.
então você deve definir diferente LDACONF
no apache2 envvars
.