summaryrefslogtreecommitdiffstats
path: root/recipes-support/openldap/openldap-2.4.39/ldapi-socket-place.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/openldap/openldap-2.4.39/ldapi-socket-place.patch')
-rw-r--r--recipes-support/openldap/openldap-2.4.39/ldapi-socket-place.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/recipes-support/openldap/openldap-2.4.39/ldapi-socket-place.patch b/recipes-support/openldap/openldap-2.4.39/ldapi-socket-place.patch
deleted file mode 100644
index a482bbf..0000000
--- a/recipes-support/openldap/openldap-2.4.39/ldapi-socket-place.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Move the ldapi socket to /var/run/slapd from /var/run, since /var/run
2is only writable by root and slapd runs as openldap.
3
4Debian-specific.
5
6--- a/include/ldap_defaults.h
7+++ b/include/ldap_defaults.h
8@@ -39,7 +39,7 @@
9 #define LDAP_ENV_PREFIX "LDAP"
10
11 /* default ldapi:// socket */
12-#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"
13+#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "slapd" LDAP_DIRSEP "ldapi"
14
15 /*
16 * SLAPD DEFINITIONS