diff options
| author | Amy Fong <amy.fong@windriver.com> | 2014-07-15 17:48:54 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-07-30 00:54:30 -0400 |
| commit | fb81abecb4e8b212f30607bf86d5b1fd769fb19d (patch) | |
| tree | d7c21313e70db1a96bdb916ccdc741c4729dda1c /recipes-support/openldap/openldap-2.4.39/ldapi-socket-place.patch | |
| parent | a3ce5306cdddb8f737f14d746ac1a892019836e3 (diff) | |
| download | meta-cloud-services-fb81abecb4e8b212f30607bf86d5b1fd769fb19d.tar.gz | |
keystone: package openLDAP 2.4.39
The patches are taken from Debian.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
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.patch | 16 |
1 files changed, 16 insertions, 0 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 new file mode 100644 index 0000000..a482bbf --- /dev/null +++ b/recipes-support/openldap/openldap-2.4.39/ldapi-socket-place.patch | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | Move the ldapi socket to /var/run/slapd from /var/run, since /var/run | ||
| 2 | is only writable by root and slapd runs as openldap. | ||
| 3 | |||
| 4 | Debian-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 | ||
