From: Debian OpenLDAP Maintainers Date: Fri, 22 Jan 2021 03:54:40 +0000 (+0000) Subject: ldapi-socket-place X-Git-Tag: archive/raspbian/2.4.47+dfsg-3+rpi1+deb10u5^2~43 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=47d640ed37bb125c87a9e4f00dc6f34a159bb40e;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 f6b29aea..f62d4db2 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