From e7597571bf3d72236016fbebb38d459ebbdb977d Mon Sep 17 00:00:00 2001 From: Debian 389ds Team Date: Wed, 10 May 2017 07:25:03 +0100 Subject: [PATCH] fix-saslpath Gbp-Pq: Name fix-saslpath.diff --- ldap/servers/slapd/ldaputil.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ldap/servers/slapd/ldaputil.c b/ldap/servers/slapd/ldaputil.c index 45a7dac..811dcdf 100644 --- a/ldap/servers/slapd/ldaputil.c +++ b/ldap/servers/slapd/ldaputil.c @@ -980,10 +980,10 @@ ldaputil_get_saslpath() if (PR_SUCCESS != PR_Access(saslpath, PR_ACCESS_EXISTS)) { #ifdef CPU_arm /* the 64-bit ARMv8 architecture. */ - saslpath = "/usr/lib/aarch64-linux-gnu"; + saslpath = "/usr/lib/aarch64-linux-gnu/sasl2"; #else /* Try x86_64 gnu triplet */ - saslpath = "/usr/lib/x86_64-linux-gnu"; + saslpath = "/usr/lib/x86_64-linux-gnu/sasl2"; #endif } #else @@ -991,14 +991,14 @@ ldaputil_get_saslpath() if (PR_SUCCESS != PR_Access(saslpath, PR_ACCESS_EXISTS)) { #ifdef CPU_arm /* the latest 32 bit ARM architecture using the hard-float version of EABI. */ - saslpath = "/usr/lib/arm-linux-gnueabihf"; + saslpath = "/usr/lib/arm-linux-gnueabihf/sasl2"; if (PR_SUCCESS != PR_Access(saslpath, PR_ACCESS_EXISTS)) { /* the 32 bit ARM architecture of EABI. */ - saslpath = "/usr/lib/arm-linux-gnueabi"; + saslpath = "/usr/lib/arm-linux-gnueabi/sasl2"; } #else /* Try i386 gnu triplet */ - saslpath = "/usr/lib/i386-linux-gnu"; + saslpath = "/usr/lib/i386-linux-gnu/sasl2"; #endif } #endif -- 2.30.2