1

Currently I run two instances of apache in my ubuntu thanks to this method :

multiple-apache2-instances-on-ubuntu

Both instances use ldap, one is configured with /etc/ldap/ldap.conf. I would like to configure the second one with another ldap.conf file path.

Do you know, how to do this ?

0

According man ldap.conf manpage:

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.

so you should define different LDACONF in the apache2 envvars.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.