From: Debian OpenLDAP Maintainers Date: Sat, 15 May 2021 23:03:34 +0000 (+0100) Subject: ldapi-socket-place X-Git-Tag: archive/raspbian/2.5.13+dfsg-3+rpi1~1^2^2^2^2^2^2~19 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e505cc24aa35e72e18beb765b27055aaa304fbca;p=openldap.git ldapi-socket-place Move the ldapi socket to /var/run/slapd from /var/run, since /var/run is only writable by root and slapd runs as openldap. Debian-specific. Gbp-Pq: Name ldapi-socket-place --- diff --git a/include/ldap_defaults.h b/include/ldap_defaults.h index 8240621a..04e3e4df 100644 --- a/include/ldap_defaults.h +++ b/include/ldap_defaults.h @@ -39,7 +39,7 @@ #define LDAP_ENV_PREFIX "LDAP" /* default ldapi:// socket */ -#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi" +#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "slapd" LDAP_DIRSEP "ldapi" /* * SLAPD DEFINITIONS