diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:54:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:54:14 +0000 |
commit | 83da7a0ac93decce70c1a02b0739020d8e2b69fd (patch) | |
tree | 0c298e82da8861a97aa152863f30eb4af5b80b37 /debian/patches/ldapi-socket-place | |
parent | Adding upstream version 2.6.7+dfsg. (diff) | |
download | openldap-debian/2.6.7+dfsg-1_exp1.tar.xz openldap-debian/2.6.7+dfsg-1_exp1.zip |
Adding debian version 2.6.7+dfsg-1~exp1.debian/2.6.7+dfsg-1_exp1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/ldapi-socket-place')
-rw-r--r-- | debian/patches/ldapi-socket-place | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/ldapi-socket-place b/debian/patches/ldapi-socket-place new file mode 100644 index 0000000..1a52eca --- /dev/null +++ b/debian/patches/ldapi-socket-place @@ -0,0 +1,18 @@ +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. + +Index: openldap/include/ldap_defaults.h +=================================================================== +--- openldap.orig/include/ldap_defaults.h 2022-05-20 17:36:09.977244324 -0400 ++++ openldap/include/ldap_defaults.h 2022-05-20 17:36:09.973244321 -0400 +@@ -40,7 +40,7 @@ + + /* default ldapi:// socket */ + #ifndef LDAPI_SOCK +-#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" + #endif + + /* |